diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyRecServiceImpl.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyRecServiceImpl.java index 307d893..98fb1aa 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyRecServiceImpl.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyRecServiceImpl.java @@ -271,7 +271,7 @@ public class ImsDutyRecServiceImpl extends BaseServiceImpl() {{ eq(ImsDutyGroupPEntity::getGroupId, groupEntity.getId()); @@ -854,8 +854,8 @@ public class ImsDutyRecServiceImpl extends BaseServiceImpl() {{ eq(ImsDutyClassEntity::getId, mainEntityById.getClassId()); @@ -863,7 +863,7 @@ public class ImsDutyRecServiceImpl extends BaseServiceImpl parse.getTime()) { + if (dutyDate.getTime() > new Date().getTime()) { return R.fail("指定的值班开始时间不能晚于当前时间"); }