|
|
@@ -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()); |
|
|
|
} |