Browse Source

小程序 待办工单 接口优化

workOrder0626
陈璐 4 months ago
parent
commit
1ac84e6e62
1 changed files with 1 additions and 7 deletions
  1. +1
    -7
      tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/WorkOrderServiceImpl.java

+ 1
- 7
tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/WorkOrderServiceImpl.java View File

@@ -156,13 +156,7 @@ public class WorkOrderServiceImpl extends BaseServiceImpl<WorkOrderMapper, WorkO
throw new ServiceException(ServiceExceptionEnum.PARAMETER_IS_NULL);
}
//登录用户信息
// User user = CurrentUserUtil.getUserInfo();
User user = new User();
user.setDataPermission(1);
user.setTenantId("f9c3de911d228b6e51eafb510aeaea7d");
user.setId("0d695f6ff9441e0ba21cdd86d5cafcbd");
user.setDeptId("e2efb06b239beed004ef9672fed72934");

User user = CurrentUserUtil.getUserInfo();
if (ObjectUtil.isNull(user)) {
return JsonResult.error(WorkOrderEnum.USER_IS_NOT_EXIST.getCode(), WorkOrderEnum.USER_IS_NOT_EXIST.getMsg());
}

Loading…
Cancel
Save