Bladeren bron

工作台任务列表当部门id为空时修改返回结果

tags/v1.0.0^2
chengwang 1 jaar geleden
bovenliggende
commit
d7766ddf3d
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/query/QueryInspectionCardListService.java

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/query/QueryInspectionCardListService.java Bestand weergeven

@@ -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());
}
//根据用户查询对应的数据权限

Laden…
Annuleren
Opslaan