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
         return CommonResult.data(bizSsFireWaterSourceService.page(bizSsFireWaterSourcePageParam));
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
     @ApiOperationSupport(order = 2)
81
     @ApiOperationSupport(order = 2)
75
     @ApiOperation("添加安全仓储-消防水源管理表")
82
     @ApiOperation("添加安全仓储-消防水源管理表")
76
     @CommonLog("添加安全仓储-消防水源管理表")
83
     @CommonLog("添加安全仓储-消防水源管理表")
77
-    @SaCheckPermission("/safeStorage/ssfirewatersource/add")
78
     @PostMapping("/safeStorage/ssfirewatersource/add")
84
     @PostMapping("/safeStorage/ssfirewatersource/add")
79
     public CommonResult<String> add(@RequestBody @Valid BizSsFireWaterSourceAddParam bizSsFireWaterSourceAddParam) {
85
     public CommonResult<String> add(@RequestBody @Valid BizSsFireWaterSourceAddParam bizSsFireWaterSourceAddParam) {
80
         bizSsFireWaterSourceService.add(bizSsFireWaterSourceAddParam);
86
         bizSsFireWaterSourceService.add(bizSsFireWaterSourceAddParam);
@@ -90,7 +96,6 @@ public class BizSsFireWaterSourceController {
90
     @ApiOperationSupport(order = 3)
96
     @ApiOperationSupport(order = 3)
91
     @ApiOperation("编辑安全仓储-消防水源管理表")
97
     @ApiOperation("编辑安全仓储-消防水源管理表")
92
     @CommonLog("编辑安全仓储-消防水源管理表")
98
     @CommonLog("编辑安全仓储-消防水源管理表")
93
-    @SaCheckPermission("/safeStorage/ssfirewatersource/edit")
94
     @PostMapping("/safeStorage/ssfirewatersource/edit")
99
     @PostMapping("/safeStorage/ssfirewatersource/edit")
95
     public CommonResult<String> edit(@RequestBody @Valid BizSsFireWaterSourceEditParam bizSsFireWaterSourceEditParam) {
100
     public CommonResult<String> edit(@RequestBody @Valid BizSsFireWaterSourceEditParam bizSsFireWaterSourceEditParam) {
96
         bizSsFireWaterSourceService.edit(bizSsFireWaterSourceEditParam);
101
         bizSsFireWaterSourceService.edit(bizSsFireWaterSourceEditParam);
@@ -106,7 +111,6 @@ public class BizSsFireWaterSourceController {
106
     @ApiOperationSupport(order = 4)
111
     @ApiOperationSupport(order = 4)
107
     @ApiOperation("删除安全仓储-消防水源管理表")
112
     @ApiOperation("删除安全仓储-消防水源管理表")
108
     @CommonLog("删除安全仓储-消防水源管理表")
113
     @CommonLog("删除安全仓储-消防水源管理表")
109
-    @SaCheckPermission("/safeStorage/ssfirewatersource/delete")
110
     @PostMapping("/safeStorage/ssfirewatersource/delete")
114
     @PostMapping("/safeStorage/ssfirewatersource/delete")
111
     public CommonResult<String> delete(@RequestBody @Valid @NotEmpty(message = "集合不能为空")
115
     public CommonResult<String> delete(@RequestBody @Valid @NotEmpty(message = "集合不能为空")
112
                                                    CommonValidList<BizSsFireWaterSourceIdParam> bizSsFireWaterSourceIdParamList) {
116
                                                    CommonValidList<BizSsFireWaterSourceIdParam> bizSsFireWaterSourceIdParamList) {
@@ -122,9 +126,15 @@ public class BizSsFireWaterSourceController {
122
      */
126
      */
123
     @ApiOperationSupport(order = 5)
127
     @ApiOperationSupport(order = 5)
124
     @ApiOperation("获取安全仓储-消防水源管理表详情")
128
     @ApiOperation("获取安全仓储-消防水源管理表详情")
125
-    @SaCheckPermission("/safeStorage/ssfirewatersource/detail")
126
     @GetMapping("/safeStorage/ssfirewatersource/detail")
129
     @GetMapping("/safeStorage/ssfirewatersource/detail")
127
     public CommonResult<BizSsFireWaterSource> detail(@Valid BizSsFireWaterSourceIdParam bizSsFireWaterSourceIdParam) {
130
     public CommonResult<BizSsFireWaterSource> detail(@Valid BizSsFireWaterSourceIdParam bizSsFireWaterSourceIdParam) {
128
         return CommonResult.data(bizSsFireWaterSourceService.detail(bizSsFireWaterSourceIdParam));
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
 }