|
|
@@ -89,11 +89,11 @@ public class CaseApplicationController extends BaseController {
|
|
89
|
89
|
// @PreAuthorize("@ss.hasPermi('caseManagement:list:submit')")
|
|
90
|
90
|
@Log(title = "提交立案申请", businessType = BusinessType.UPDATE)
|
|
91
|
91
|
@PostMapping("/submitCaseApplication")
|
|
92
|
|
- public AjaxResult submitCaseApplication(@RequestParam(value = "ids",required = true) List<Long> ids) {
|
|
93
|
|
- if(CollectionUtil.isEmpty(ids)){
|
|
|
92
|
+ public AjaxResult submitCaseApplication(@RequestBody BatchCaseApplication batchCaseApplication) {
|
|
|
93
|
+ if(CollectionUtil.isEmpty(batchCaseApplication.getIds())){
|
|
94
|
94
|
return error("参数校验失败");
|
|
95
|
95
|
}
|
|
96
|
|
- return toAjax(caseApplicationService.submitCaseApplication(ids));
|
|
|
96
|
+ return toAjax(caseApplicationService.submitCaseApplication(batchCaseApplication.getIds()));
|
|
97
|
97
|
}
|
|
98
|
98
|
|
|
99
|
99
|
/**
|
|
|
@@ -102,9 +102,11 @@ public class CaseApplicationController extends BaseController {
|
|
102
|
102
|
// @PreAuthorize("@ss.hasPermi('caseManagement:list:delete')")
|
|
103
|
103
|
@Log(title = "删除立案数据", businessType = BusinessType.DELETE)
|
|
104
|
104
|
@PostMapping("/removeCaseApplication")
|
|
105
|
|
- public AjaxResult removeCaseApplication(@RequestParam(value = "ids",required = true) List<Long> ids) {
|
|
106
|
|
-
|
|
107
|
|
- return success(caseApplicationService.deletecaseApplicationByIds(ids));
|
|
|
105
|
+ public AjaxResult removeCaseApplication(@RequestBody BatchCaseApplication batchCaseApplication) {
|
|
|
106
|
+ if(CollectionUtil.isEmpty(batchCaseApplication.getIds())){
|
|
|
107
|
+ return error("参数校验失败");
|
|
|
108
|
+ }
|
|
|
109
|
+ return success(caseApplicationService.deletecaseApplicationByIds(batchCaseApplication.getIds()));
|
|
108
|
110
|
}
|
|
109
|
111
|
|
|
110
|
112
|
/**
|
|
|
@@ -235,6 +237,7 @@ public class CaseApplicationController extends BaseController {
|
|
235
|
237
|
@Log(title = "审核裁决书", businessType = BusinessType.UPDATE)
|
|
236
|
238
|
@PostMapping("/checkArbitrateRecord")
|
|
237
|
239
|
public AjaxResult checkArbitrateRecord(@Validated @RequestBody CaseApplication caseApplication) {
|
|
|
240
|
+
|
|
238
|
241
|
return toAjax(caseApplicationService.checkArbitrateRecord(caseApplication));
|
|
239
|
242
|
}
|
|
240
|
243
|
|
|
|
@@ -255,8 +258,11 @@ public class CaseApplicationController extends BaseController {
|
|
255
|
258
|
// @PreAuthorize("@ss.hasPermi('caseManagement:list:check')")
|
|
256
|
259
|
@Log(title = "提交立案审查", businessType = BusinessType.UPDATE)
|
|
257
|
260
|
@PostMapping("/submitCaseApplicationCheck")
|
|
258
|
|
- public AjaxResult submitCaseApplicationCheck(@RequestParam(value = "ids",required = true) List<Long> ids,@RequestParam(value = "agreeOrNotCheck",required = true) Integer agreeOrNotCheck) {
|
|
259
|
|
- return toAjax(caseApplicationService.submitCaseApplicationCheck(ids,agreeOrNotCheck));
|
|
|
261
|
+ public AjaxResult submitCaseApplicationCheck(@RequestBody BatchCaseApplication batchCaseApplication) {
|
|
|
262
|
+ if(CollectionUtil.isEmpty(batchCaseApplication.getIds())|| batchCaseApplication.getAgreeOrNotCheck()==null){
|
|
|
263
|
+ return error("参数校验失败");
|
|
|
264
|
+ }
|
|
|
265
|
+ return success(caseApplicationService.submitCaseApplicationCheck(batchCaseApplication.getIds(),batchCaseApplication.getAgreeOrNotCheck()));
|
|
260
|
266
|
}
|
|
261
|
267
|
|
|
262
|
268
|
/**
|