Browse Source

移动端

gaodd 4 months ago
parent
commit
4a90de0c9b

+ 14 - 4
unis-plugin/unis-plugin-biz/src/main/java/com/unis/safeStorage/modular/ssfirewatersource/controller/BizSsFireWaterSourceController.java

@@ -65,6 +65,13 @@ public class BizSsFireWaterSourceController {
65 65
         return CommonResult.data(bizSsFireWaterSourceService.page(bizSsFireWaterSourcePageParam));
66 66
     }
67 67
 
68
+    @ApiOperationSupport(order = 1)
69
+    @ApiOperation("*移动端获取安全仓储-消防水源管理表分页")
70
+    @GetMapping("/client/c/safeStorage/ssfirewatersource/getPage")
71
+    public CommonResult<Page<BizSsFireWaterSource>> getPage(BizSsFireWaterSourcePageParam bizSsFireWaterSourcePageParam) {
72
+        return CommonResult.data(bizSsFireWaterSourceService.page(bizSsFireWaterSourcePageParam));
73
+    }
74
+
68 75
     /**
69 76
      * 添加安全仓储-消防水源管理表
70 77
      *
@@ -74,7 +81,6 @@ public class BizSsFireWaterSourceController {
74 81
     @ApiOperationSupport(order = 2)
75 82
     @ApiOperation("添加安全仓储-消防水源管理表")
76 83
     @CommonLog("添加安全仓储-消防水源管理表")
77
-    @SaCheckPermission("/safeStorage/ssfirewatersource/add")
78 84
     @PostMapping("/safeStorage/ssfirewatersource/add")
79 85
     public CommonResult<String> add(@RequestBody @Valid BizSsFireWaterSourceAddParam bizSsFireWaterSourceAddParam) {
80 86
         bizSsFireWaterSourceService.add(bizSsFireWaterSourceAddParam);
@@ -90,7 +96,6 @@ public class BizSsFireWaterSourceController {
90 96
     @ApiOperationSupport(order = 3)
91 97
     @ApiOperation("编辑安全仓储-消防水源管理表")
92 98
     @CommonLog("编辑安全仓储-消防水源管理表")
93
-    @SaCheckPermission("/safeStorage/ssfirewatersource/edit")
94 99
     @PostMapping("/safeStorage/ssfirewatersource/edit")
95 100
     public CommonResult<String> edit(@RequestBody @Valid BizSsFireWaterSourceEditParam bizSsFireWaterSourceEditParam) {
96 101
         bizSsFireWaterSourceService.edit(bizSsFireWaterSourceEditParam);
@@ -106,7 +111,6 @@ public class BizSsFireWaterSourceController {
106 111
     @ApiOperationSupport(order = 4)
107 112
     @ApiOperation("删除安全仓储-消防水源管理表")
108 113
     @CommonLog("删除安全仓储-消防水源管理表")
109
-    @SaCheckPermission("/safeStorage/ssfirewatersource/delete")
110 114
     @PostMapping("/safeStorage/ssfirewatersource/delete")
111 115
     public CommonResult<String> delete(@RequestBody @Valid @NotEmpty(message = "集合不能为空")
112 116
                                                    CommonValidList<BizSsFireWaterSourceIdParam> bizSsFireWaterSourceIdParamList) {
@@ -122,9 +126,15 @@ public class BizSsFireWaterSourceController {
122 126
      */
123 127
     @ApiOperationSupport(order = 5)
124 128
     @ApiOperation("获取安全仓储-消防水源管理表详情")
125
-    @SaCheckPermission("/safeStorage/ssfirewatersource/detail")
126 129
     @GetMapping("/safeStorage/ssfirewatersource/detail")
127 130
     public CommonResult<BizSsFireWaterSource> detail(@Valid BizSsFireWaterSourceIdParam bizSsFireWaterSourceIdParam) {
128 131
         return CommonResult.data(bizSsFireWaterSourceService.detail(bizSsFireWaterSourceIdParam));
129 132
     }
133
+
134
+    @ApiOperationSupport(order = 5)
135
+    @ApiOperation("移动端获取安全仓储-消防水源管理表详情")
136
+    @GetMapping("/client/c/safeStorage/ssfirewatersource/geDdetail")
137
+    public CommonResult<BizSsFireWaterSource> geDdetail(@Valid BizSsFireWaterSourceIdParam bizSsFireWaterSourceIdParam) {
138
+        return CommonResult.data(bizSsFireWaterSourceService.detail(bizSsFireWaterSourceIdParam));
139
+    }
130 140
 }