Browse Source

排班计划bug修复

zhongwei
tyty 1 year ago
parent
commit
440e0747c7
  1. 4
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyMainServiceImpl.java

4
hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyMainServiceImpl.java

@ -785,8 +785,8 @@ public class ImsDutyMainServiceImpl extends BaseServiceImpl<ImsDutyMainMapper, I
last(" limit 1");
}});
//如果person的表中有班组名称,则直接取
if (ObjectUtil.isNotEmpty(imsDutyMainPersonEntity) && imsDutyMainPersonEntity.getDutyGroupName() != null) {
s.setName(imsDutyMainPersonEntity.getDutyGroupName());
if (ObjectUtil.isNotEmpty(imsDutyMainPersonEntity) &&StringUtil.isNotBlank(imsDutyMainPersonEntity.getDutyGroupName())) {
s.setName(s.getName()+imsDutyMainPersonEntity.getDutyGroupName());
} else {
//否则,拼接对应人员
String[] split = s.getDutyPersonIds().split("\\^");

Loading…
Cancel
Save