diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyGroupServiceImpl.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyGroupServiceImpl.java index c71d13d..17d4e0b 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyGroupServiceImpl.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyGroupServiceImpl.java @@ -287,6 +287,7 @@ public class ImsDutyGroupServiceImpl extends BaseServiceImpl list1 = iImsDutyMainService.list(new LambdaQueryWrapper() {{ in(ImsDutyMainEntity::getDutyGroupId, collect); + in(ImsDutyMainEntity::getStatus,Arrays.asList(0,1)); }}); if (CollectionUtil.isNotEmpty(list1)) { diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyMainServiceImpl.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyMainServiceImpl.java index 01c3bfa..1ddfc71 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyMainServiceImpl.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyMainServiceImpl.java @@ -776,7 +776,7 @@ public class ImsDutyMainServiceImpl extends BaseServiceImpl collect = imsSchedulingVos.stream().filter(o -> DateUtil.format(o.getDutyDate(), DateUtil.PATTERN_DATE).equals(date)).sorted(Comparator.comparing(ImsSchedulingVo::getId)).collect(Collectors.toList()); collect = collect.stream().map(s -> { //灵活排班把班组名称拼接成人员名称 - if (s.getGroupName() == null) { + if (s.getGroupId() == null) { String[] split = s.getDutyPersonIds().split("\\^"); if (null != split && split.length > 0) { for (int j = 0; j < split.length; j++) { @@ -791,8 +791,8 @@ public class ImsDutyMainServiceImpl extends BaseServiceImpl