Commit 005cf2ee authored by huyuchen's avatar huyuchen

huych-入职登记提交

parent 7ef0e8d5
......@@ -245,7 +245,7 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
LocalDateTime now = LocalDateTime.now();
if (pre.getExpectedCollectionTime().isEqual(now)) {
scheduleService.executeTask(pre.getId());
} else {
} else if (preVo.getExpectedCollectionTime().compareTo(LocalDateTimeUtils.convertLDTToDate(now)) > 0){
scheduleService.scheduleTask(pre);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment