|
|
@ -63,7 +63,6 @@ import java.text.SimpleDateFormat; |
|
|
|
import java.time.*; |
|
|
|
import java.time.*; |
|
|
|
import java.time.format.DateTimeFormatter; |
|
|
|
import java.time.format.DateTimeFormatter; |
|
|
|
import java.util.*; |
|
|
|
import java.util.*; |
|
|
|
import java.util.function.Function; |
|
|
|
|
|
|
|
import java.util.stream.Collectors; |
|
|
|
import java.util.stream.Collectors; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -512,11 +511,11 @@ public class ImsDutyRecServiceImpl extends BaseServiceImpl<ImsDutyRecMapper, Ims |
|
|
|
vo.setInspectTaskId(dutyRecEntity.getInspectTaskId()); |
|
|
|
vo.setInspectTaskId(dutyRecEntity.getInspectTaskId()); |
|
|
|
} |
|
|
|
} |
|
|
|
ImsSchedulingVo imsSchedulingVo = imsDutyMainServiceImpl.getByIdOneV2(entity.getId(), null);//交班人
|
|
|
|
ImsSchedulingVo imsSchedulingVo = imsDutyMainServiceImpl.getByIdOneV2(entity.getId(), null);//交班人
|
|
|
|
if (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().getName()); |
|
|
|
} |
|
|
|
} |
|
|
|
ImsSchedulingVo imsSchedulingVo1 = imsDutyMainServiceImpl.getByIdOneV2(null, entity.getId()); |
|
|
|
ImsSchedulingVo imsSchedulingVo1 = imsDutyMainServiceImpl.getByIdOneV2(null, entity.getId()); |
|
|
|
if (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().getName()); |
|
|
|
} |
|
|
|
} |
|
|
|
vo.setHeadDutyMainVo(imsSchedulingVo); |
|
|
|
vo.setHeadDutyMainVo(imsSchedulingVo); |
|
|
|