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