Browse Source

修正:个人排班计划非空判断

zhongwei
ty 7 months ago
parent
commit
d38971eeb0
  1. 2
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyMainServiceImpl.java

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

@ -1681,7 +1681,7 @@ public class ImsDutyMainServiceImpl extends BaseServiceImpl<ImsDutyMainMapper, I
eq(ImsDutyMainPersonEntity::getDutyMainId, s.getId());
last("limit 1");
}});
if (StringUtils.isNotBlank(imsDutyMainPersonEntity.getDutyGroupName())){
if (ObjectUtil.isNotEmpty(imsDutyMainPersonEntity)&&StringUtils.isNotBlank(imsDutyMainPersonEntity.getDutyGroupName())){
s.setGroupName(imsDutyMainPersonEntity.getDutyGroupName());
}else {
s.setGroupName("临时班组");

Loading…
Cancel
Save