Browse Source

修改排班的相关接口

zhongwei
tyty 2 years ago
parent
commit
e5d8f1fdca
  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

@ -412,11 +412,7 @@ public class ImsDutyMainServiceImpl extends BaseServiceImpl<ImsDutyMainMapper, I
imsDutyMainPersonEntity.setDutyPerson(personId); imsDutyMainPersonEntity.setDutyPerson(personId);
long id1 = IdWorker.getId(imsDutyMainPersonEntity); long id1 = IdWorker.getId(imsDutyMainPersonEntity);
imsDutyMainPersonEntity.setId(id1); imsDutyMainPersonEntity.setId(id1);
if (2 == imsSchedulingVo.getPersonType()) {
imsDutyMainPersonEntity.setDutyChargePerson(imsSchedulingVo.getManagerId());
} else {
imsDutyMainPersonEntity.setDutyChargePerson(managerId); imsDutyMainPersonEntity.setDutyChargePerson(managerId);
}
imsDutyMainPersonEntityList.add(imsDutyMainPersonEntity); imsDutyMainPersonEntityList.add(imsDutyMainPersonEntity);
} }
} }

Loading…
Cancel
Save