锁定,解锁案件
This commit is contained in:
+13
@@ -296,5 +296,18 @@ public class CaseApplicationController extends BaseController {
|
||||
public AjaxResult creatTrialRecord(@Validated @RequestBody ArbitrateRecord arbitrateRecord){
|
||||
return caseApplicationService.creatTrialRecord(arbitrateRecord);
|
||||
}
|
||||
/**
|
||||
* 案件锁定或者解锁
|
||||
* @param caseApplication
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/updateCaseLockStatus")
|
||||
// @PreAuthorize("@ss.hasPermi('caseManagement:list:creatTrialRecord')")
|
||||
public AjaxResult updateCaseLockStatus(@Validated @RequestBody CaseApplication caseApplication){
|
||||
if(caseApplication.getId()==null || caseApplication.getLockStatus()==null){
|
||||
return error("参数校验失败");
|
||||
}
|
||||
return AjaxResult.success(caseApplicationService.updateCaseLockStatus(caseApplication));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user