Bladeren bron

安保测试统计

chenshudong 4 weken geleden
bovenliggende
commit
7493dcd59c

+ 6 - 6
airport-admin/src/main/java/com/sundot/airport/web/controller/ledger/LedgerSecurityTestController.java

@@ -58,8 +58,8 @@ public class LedgerSecurityTestController extends BaseController {
58 58
      */
59 59
     @PostMapping("/securityTestItemClassification")
60 60
     public AjaxResult securityTestItemClassification(@RequestBody LedgerCommonQueryReqVO queryReq) {
61
-        List<LedgerCommonResVO> seizureQuantityList = service.securityTestItemClassification(queryReq);
62
-        return AjaxResult.success(seizureQuantityList);
61
+        List<LedgerCommonResVO> result = service.securityTestItemClassification(queryReq);
62
+        return AjaxResult.success(result);
63 63
     }
64 64
 
65 65
     /**
@@ -70,8 +70,8 @@ public class LedgerSecurityTestController extends BaseController {
70 70
      */
71 71
     @PostMapping("/securityTestPassingStatus")
72 72
     public AjaxResult securityTestPassingStatus(@RequestBody LedgerCommonQueryReqVO queryReq) {
73
-        List<LedgerCommonResVO> seizureQuantityList = service.securityTestPassingStatus(queryReq);
74
-        return AjaxResult.success(seizureQuantityList);
73
+        List<LedgerCommonResVO> result = service.securityTestPassingStatus(queryReq);
74
+        return AjaxResult.success(result);
75 75
     }
76 76
 
77 77
     /**
@@ -82,8 +82,8 @@ public class LedgerSecurityTestController extends BaseController {
82 82
      */
83 83
     @PostMapping("/securityTestRegion")
84 84
     public AjaxResult securityTestRegion(@RequestBody LedgerCommonQueryReqVO queryReq) {
85
-        List<LedgerCommonResVO> seizureQuantityList = service.securityTestRegion(queryReq);
86
-        return AjaxResult.success(seizureQuantityList);
85
+        List<LedgerCommonResVO> result = service.securityTestRegion(queryReq);
86
+        return AjaxResult.success(result);
87 87
     }
88 88
 
89 89
 }

+ 3 - 3
airport-ledger/src/main/java/com/sundot/airport/ledger/service/impl/LedgerSecurityTestServiceImpl.java

@@ -38,16 +38,16 @@ public class LedgerSecurityTestServiceImpl extends ServiceImpl<LedgerSecurityTes
38 38
 
39 39
     @Override
40 40
     public List<LedgerCommonResVO> securityTestItemClassification(LedgerCommonQueryReqVO queryReq) {
41
-        return this.baseMapper.securityTestItemClassification(queryReq);
41
+        return mapper.securityTestItemClassification(queryReq);
42 42
     }
43 43
 
44 44
     @Override
45 45
     public List<LedgerCommonResVO> securityTestPassingStatus(LedgerCommonQueryReqVO queryReq) {
46
-        return this.baseMapper.securityTestPassingStatus(queryReq);
46
+        return mapper.securityTestPassingStatus(queryReq);
47 47
     }
48 48
 
49 49
     @Override
50 50
     public List<LedgerCommonResVO> securityTestRegion(LedgerCommonQueryReqVO queryReq) {
51
-        return this.baseMapper.securityTestRegion(queryReq);
51
+        return mapper.securityTestRegion(queryReq);
52 52
     }
53 53
 }