审核仲裁方式改为单个操作
This commit is contained in:
+5
-7
@@ -22,17 +22,15 @@ public class CaseArbitrateController extends BaseController {
|
||||
|
||||
/**
|
||||
* 审核仲裁方式
|
||||
* @param batchCaseApplication
|
||||
* @param batchCaseApplication 1同意,0拒绝
|
||||
* @param caseApplication
|
||||
* @param opinion 1同意,0拒绝
|
||||
* @return
|
||||
*/
|
||||
@PutMapping("/method")
|
||||
// @PreAuthorize("@ss.hasPermi('caseManagement:list:checkarbitrationway')")
|
||||
public AjaxResult examineArbitrateMethod(@RequestBody BatchCaseApplication batchCaseApplication){
|
||||
if(CollectionUtil.isEmpty(batchCaseApplication.getIds())|| batchCaseApplication.getOpinion()==null){
|
||||
return error("参数校验失败");
|
||||
}
|
||||
return caseArbitrateService.examineArbitrateMethod(batchCaseApplication.getIds(),batchCaseApplication.getOpinion());
|
||||
public AjaxResult examineArbitrateMethod(@Validated @RequestBody CaseApplication caseApplication
|
||||
, Integer opinion){
|
||||
return caseArbitrateService.examineArbitrateMethod(caseApplication,opinion);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user