案件修改

This commit is contained in:
18792927508
2023-11-27 17:59:24 +08:00
parent 1ddaf829fc
commit 69fbcd4b4b
5 changed files with 50 additions and 13 deletions
@@ -122,14 +122,12 @@ public class CaseApplicationController extends BaseController {
}
/**
* 查询立案信息 todo 必须传version
* 查询立案信息
*/
// @PreAuthorize("@ss.hasPermi('caseManagement:list:detail')")
@PostMapping("/selectCaseApplication")
public AjaxResult selectCaseApplication(@Validated @RequestBody CaseApplication caseApplication) {
if(caseApplication.getVersion()==null){
return error("参数校验失败");
}
CaseApplication caseApplicationselect = caseApplicationService.selectCaseApplication(caseApplication);
return success(caseApplicationselect);
}
@@ -107,6 +107,17 @@ public class VideoController extends BaseController {
return videoService.dissolveRoom(reservedConferenceVO.getRoomId());
}
/**
* 根据userId查询该用户是否是秘书
* @param userId
* @return
*/
@Anonymous
@GetMapping("secretaryRoleByUserId")
public AjaxResult secretaryRoleByUserId( @RequestParam(value = "userId",required = true) Long userId) {
return videoService.secretaryRoleByUserId(userId);
}
}