|
|
@ -323,8 +323,8 @@ public class ImsDutyRecServiceImpl extends BaseServiceImpl<ImsDutyRecMapper, Ims |
|
|
|
String userName = ""; |
|
|
|
String userName = ""; |
|
|
|
PushExtrasReq req = new PushExtrasReq(); |
|
|
|
PushExtrasReq req = new PushExtrasReq(); |
|
|
|
log.info("--------------------------req:" + req, groupEntityManagerId, userName, date); |
|
|
|
log.info("--------------------------req:" + req, groupEntityManagerId, userName, date); |
|
|
|
if (ObjectUtil.isNotEmpty(userR.getData()) && StringUtil.isNotBlank(userR.getData().getName())) { |
|
|
|
if (ObjectUtil.isNotEmpty(userR.getData()) && StringUtil.isNotBlank(userR.getData().getRealName())) { |
|
|
|
userName = userR.getData().getName(); |
|
|
|
userName = userR.getData().getRealName(); |
|
|
|
log.info("--------------------------req2:" + req, groupEntityManagerId, userName, date); |
|
|
|
log.info("--------------------------req2:" + req, groupEntityManagerId, userName, date); |
|
|
|
} |
|
|
|
} |
|
|
|
String format = DateUtil.format(date, DateUtil.PATTERN_DATETIME); |
|
|
|
String format = DateUtil.format(date, DateUtil.PATTERN_DATETIME); |
|
|
@ -514,11 +514,11 @@ public class ImsDutyRecServiceImpl extends BaseServiceImpl<ImsDutyRecMapper, Ims |
|
|
|
} |
|
|
|
} |
|
|
|
ImsSchedulingVo imsSchedulingVo = imsDutyMainServiceImpl.getByIdOneV2(entity.getId(), null);//交班人
|
|
|
|
ImsSchedulingVo imsSchedulingVo = imsDutyMainServiceImpl.getByIdOneV2(entity.getId(), null);//交班人
|
|
|
|
if (ObjectUtil.isNotEmpty(imsSchedulingVo)&&null != imsSchedulingVo.getManagerId()) { |
|
|
|
if (ObjectUtil.isNotEmpty(imsSchedulingVo)&&null != imsSchedulingVo.getManagerId()) { |
|
|
|
imsSchedulingVo.setUserName(userClient.userInfoById(imsSchedulingVo.getManagerId()).getData().getName()); |
|
|
|
imsSchedulingVo.setUserName(userClient.userInfoById(imsSchedulingVo.getManagerId()).getData().getRealName()); |
|
|
|
} |
|
|
|
} |
|
|
|
ImsSchedulingVo imsSchedulingVo1 = imsDutyMainServiceImpl.getByIdOneV2(null, entity.getId()); |
|
|
|
ImsSchedulingVo imsSchedulingVo1 = imsDutyMainServiceImpl.getByIdOneV2(null, entity.getId()); |
|
|
|
if (ObjectUtil.isNotEmpty(imsSchedulingVo1)&&null != imsSchedulingVo1.getManagerId()) { |
|
|
|
if (ObjectUtil.isNotEmpty(imsSchedulingVo1)&&null != imsSchedulingVo1.getManagerId()) { |
|
|
|
imsSchedulingVo1.setUserName(userClient.userInfoById(imsSchedulingVo1.getManagerId()).getData().getName()); |
|
|
|
imsSchedulingVo1.setUserName(userClient.userInfoById(imsSchedulingVo1.getManagerId()).getData().getRealName()); |
|
|
|
}else { |
|
|
|
}else { |
|
|
|
throw new ServiceException("没有找到接班对象值班信息,请联系管理人员,进行尽快进行排班!!!!"); |
|
|
|
throw new ServiceException("没有找到接班对象值班信息,请联系管理人员,进行尽快进行排班!!!!"); |
|
|
|
} |
|
|
|
} |
|
|
@ -735,7 +735,7 @@ public class ImsDutyRecServiceImpl extends BaseServiceImpl<ImsDutyRecMapper, Ims |
|
|
|
if (ObjectUtil.isNotEmpty(groupEntityManagerId) && ObjectUtil.isNotEmpty(classEntity)) { |
|
|
|
if (ObjectUtil.isNotEmpty(groupEntityManagerId) && ObjectUtil.isNotEmpty(classEntity)) { |
|
|
|
String userName = ""; |
|
|
|
String userName = ""; |
|
|
|
if (null != groupEntityManagerId) { |
|
|
|
if (null != groupEntityManagerId) { |
|
|
|
userName = userClient.userInfoById(groupEntityManagerId).getData().getName(); |
|
|
|
userName = userClient.userInfoById(groupEntityManagerId).getData().getRealName(); |
|
|
|
} |
|
|
|
} |
|
|
|
PushExtrasReq req = new PushExtrasReq(); |
|
|
|
PushExtrasReq req = new PushExtrasReq(); |
|
|
|
if (null != entity.getPreDutyId()) { |
|
|
|
if (null != entity.getPreDutyId()) { |
|
|
|