@@ -87,7 +87,7 @@ public class QueryInspectionCardListService { | |||
//部门 | |||
Dept dept = deptMapper.selectById(user.getDeptId()); | |||
if(ObjectUtil.isNull(dept)){ | |||
return JsonResult.error(QueryUserInfoByIdCodeEnum.USER_DEPT_NOT_EXIST.getCode(), | |||
return JsonResult.success(QueryUserInfoByIdCodeEnum.USER_DEPT_NOT_EXIST.getCode(), | |||
QueryUserInfoByIdCodeEnum.USER_DEPT_NOT_EXIST.getMsg()); | |||
} | |||
//根据用户查询对应的数据权限 |