修复公章管理

This commit is contained in:
hejinbo
2023-11-16 19:23:01 +08:00
parent e18e47f31f
commit c644fb3142
11 changed files with 198 additions and 109 deletions
@@ -84,7 +84,7 @@ public class DeptIdentifyController extends BaseController {
* @return
*/
@GetMapping("/sealList")
public TableDataInfo getSealList(DeptIdentify deptIdentify){
public TableDataInfo getSealList( DeptIdentify deptIdentify){
startPage();
List<SealListVO> list = deptIdentifyService.getSealList(deptIdentify);
return getDataTable(list);
@@ -97,9 +97,20 @@ public class DeptIdentifyController extends BaseController {
*/
@PostMapping("/updateSealLockStatus")
public AjaxResult updateSealLockStatus(@Validated @RequestBody SealManage sealManage){
if(sealManage.getId()==null ||sealManage.getSealStatus()==null){
if(sealManage.getId()==null ||sealManage.getIsUse()==null){
return error("参数校验失败");
}
return deptIdentifyService.updateSealLockStatus(sealManage);
}
// /**
// * 新增模板
// * @param deptIdentify
// * @return
// */
// @PostMapping("/insert")
// public AjaxResult insertDeptIdentify(@RequestBody DeptIdentify deptIdentify){
// return deptIdentifyService.insertDeptIdentify(deptIdentify);
// }
}