| | |
| | | return metricStatisticsService.statisticsTable(statisticsTableDto); |
| | | } |
| | | |
| | | @GetMapping("/projectTransactions") |
| | | @Operation(summary = "营销管理--客户往来-项目汇总") |
| | | public R projectTransactions(Page page, String projectName, String customerName, String contractName) { |
| | | return R.ok(customerService.projectTransactions(page, projectName, customerName, contractName)); |
| | | } |
| | | |
| | | @GetMapping("/customewTransactions") |
| | | @Log(title = "客户往来", businessType = BusinessType.OTHER) |
| | | @Operation(summary = "客户往来") |
| | | public R customewTransactions(Page page, String customerName) { |
| | | return R.ok(customerService.customewTransactions(page,customerName)); |
| | | @Operation(summary = "营销管理--客户往来-客户汇总") |
| | | public R customewTransactions(Page page, Long projectId, String customerName, String contractName) { |
| | | return R.ok(customerService.customewTransactions(page, projectId, customerName, contractName)); |
| | | } |
| | | |
| | | @GetMapping("/customewTransactionsDetails") |
| | | @Log(title = "客户往来明细", businessType = BusinessType.OTHER) |
| | | @Operation(summary = "客户往来明细") |
| | | public R customewTransactionsDetails(Page page, Long customerId) { |
| | | return R.ok(customerService.customewTransactionsDetails(page,customerId)); |
| | | @Operation(summary = "营销管理--客户往来明细-合同级") |
| | | public R customewTransactionsDetails(Page page, Long projectId, Long customerId, String contractName) { |
| | | return R.ok(customerService.customewTransactionsDetails(page, projectId, customerId, contractName)); |
| | | } |
| | | |
| | | @GetMapping("/transactionsSummary") |
| | | @Operation(summary = "营销管理--客户往来-大盘总览") |
| | | public R transactionsSummary() { |
| | | return R.ok(customerService.transactionsSummary()); |
| | | } |
| | | } |