|
|
|
@ -1264,7 +1264,7 @@ public class ImsDutyMainServiceImpl extends BaseServiceImpl<ImsDutyMainMapper, I
|
|
|
|
|
} |
|
|
|
|
User managerUser = UserCache.getUser(Long.valueOf(dutyMainInfoVo.getManagerId())); |
|
|
|
|
if (ObjectUtil.isNotEmpty(managerUser)) { |
|
|
|
|
dutyMainInfoVo.setManagerName(managerUser.getName()); |
|
|
|
|
dutyMainInfoVo.setManagerName(managerUser.getRealName()); |
|
|
|
|
dutyMainInfoVo.setManagerPhone(managerUser.getPhone()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -1294,7 +1294,7 @@ public class ImsDutyMainServiceImpl extends BaseServiceImpl<ImsDutyMainMapper, I
|
|
|
|
|
vo.setCorryInfo(corryVo); |
|
|
|
|
User carryManagerUser = UserCache.getUser(Long.valueOf(corryVo.getManagerId())); |
|
|
|
|
if (ObjectUtil.isNotEmpty(carryManagerUser)) { |
|
|
|
|
corryVo.setManagerName(carryManagerUser.getName()); |
|
|
|
|
corryVo.setManagerName(carryManagerUser.getRealName()); |
|
|
|
|
corryVo.setManagerPhone(carryManagerUser.getPhone()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -1359,7 +1359,7 @@ public class ImsDutyMainServiceImpl extends BaseServiceImpl<ImsDutyMainMapper, I
|
|
|
|
|
// 负责人
|
|
|
|
|
User user = UserCache.getUser(Long.valueOf(item.getManagerId())); |
|
|
|
|
if (ObjectUtil.isNotEmpty(user)) { |
|
|
|
|
item.setManagerName(user.getName()); |
|
|
|
|
item.setManagerName(user.getRealName()); |
|
|
|
|
item.setManagerPhone(user.getPhone()); |
|
|
|
|
} |
|
|
|
|
// FIXME 上网
|
|
|
|
@ -1657,9 +1657,9 @@ public class ImsDutyMainServiceImpl extends BaseServiceImpl<ImsDutyMainMapper, I
|
|
|
|
|
User user = restUserList.get(j); |
|
|
|
|
if (ObjectUtil.isNotEmpty(user)) { |
|
|
|
|
if (j == restUserList.size() - 1) { |
|
|
|
|
personNames += user.getName(); |
|
|
|
|
personNames += user.getRealName(); |
|
|
|
|
} else { |
|
|
|
|
personNames += user.getName() + "、"; |
|
|
|
|
personNames += user.getRealName() + "、"; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -1732,7 +1732,7 @@ public class ImsDutyMainServiceImpl extends BaseServiceImpl<ImsDutyMainMapper, I
|
|
|
|
|
// 负责人
|
|
|
|
|
User user = UserCache.getUser(Long.valueOf(dutyMainInfoVo.getManagerId())); |
|
|
|
|
if (ObjectUtil.isNotEmpty(user)) { |
|
|
|
|
dutyInfoVo.setManagerName(user.getName()); |
|
|
|
|
dutyInfoVo.setManagerName(user.getRealName()); |
|
|
|
|
dutyInfoVo.setManagerPhone(user.getPhone()); |
|
|
|
|
} |
|
|
|
|
// 发电量
|
|
|
|
@ -1758,7 +1758,7 @@ public class ImsDutyMainServiceImpl extends BaseServiceImpl<ImsDutyMainMapper, I
|
|
|
|
|
// 负责人
|
|
|
|
|
User user = UserCache.getUser(Long.valueOf(dutyMainInfoVo.getManagerId())); |
|
|
|
|
if (ObjectUtil.isNotEmpty(user)) { |
|
|
|
|
dutyInfoVo.setManagerName(user.getName()); |
|
|
|
|
dutyInfoVo.setManagerName(user.getRealName()); |
|
|
|
|
dutyInfoVo.setManagerPhone(user.getPhone()); |
|
|
|
|
} |
|
|
|
|
dutyInfoVo.setGeneratingCapacity(0); |
|
|
|
@ -1771,7 +1771,7 @@ public class ImsDutyMainServiceImpl extends BaseServiceImpl<ImsDutyMainMapper, I
|
|
|
|
|
if (ObjectUtil.isNotEmpty(user)) { |
|
|
|
|
AuditVo auditVo = new AuditVo(); |
|
|
|
|
auditVo.setPersonId(personId); |
|
|
|
|
auditVo.setPersonName(user.getName()); |
|
|
|
|
auditVo.setPersonName(user.getRealName()); |
|
|
|
|
auditVo.setPhone(user.getPhone()); |
|
|
|
|
return auditVo; |
|
|
|
|
} |
|
|
|
|