Эх сурвалжийг харах

fix: 客户查询列表表头统计数据接口优化

gufj 4 сар өмнө
parent
commit
77d6486ef6

+ 2 - 1
bound-link-api/blink-backend/src/main/java/com/wx/blink/backend/controller/BlinkCustomerController.java

@@ -43,7 +43,8 @@ public class BlinkCustomerController {
 
     @Operation(summary = "客户查询列表表头统计数据接口")
     @PostMapping(value = "/supports/customer/statistics/info")
-    public ResponseDTO<BlinkCustomerStatisticsVO> supportsStatisticsInfo(@RequestBody BlinkCustomerQry qry) {
+    public ResponseDTO<BlinkCustomerStatisticsVO> supportsStatisticsInfo() {
+        BlinkCustomerQry qry = new BlinkCustomerQry();
         return ResponseDTO.ok(customerService.supportsStatisticsInfo(qry));
     }
 

+ 2 - 2
bound-link-api/blink-portal-api/src/main/java/com/wx/blink/portal/CustomerApi.java

@@ -22,7 +22,7 @@ public interface CustomerApi {
     @GetMapping("/supports/customer/{id}")
     ResponseDTO<JSONObject> supportsCustomerSingleQuery(@PathVariable("id") String id);
 
-    @GetMapping("/supports/customer/statistics/info")
-    ResponseDTO<JSONObject> supportsStatisticsInfo(BlinkCustomerQry qry);
+    @PostMapping("/supports/customer/statistics/info")
+    ResponseDTO<JSONObject> supportsStatisticsInfo(@RequestBody BlinkCustomerQry qry);
 
 }

+ 2 - 2
bound-link-api/blink-portal/src/main/java/com/wx/blink/portal/controller/PortalCustomerController.java

@@ -41,8 +41,8 @@ public class PortalCustomerController {
     }
 
     @Operation(summary = "客户查询列表表头统计数据接口")
-    @GetMapping("/portal/customer/statistics/info")
-    public ResponseDTO<JSONObject> supportsStatisticsInfo(BlinkCustomerQry qry) {
+    @PostMapping("/portal/customer/statistics/info")
+    public ResponseDTO<JSONObject> supportsStatisticsInfo(@RequestBody BlinkCustomerQry qry) {
         return customerApi.supportsStatisticsInfo(qry);
     }