Commit 8e8e4048 authored by huyuchen's avatar huyuchen

huych-入职登记提交

parent eff11c03
......@@ -243,7 +243,7 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
@Override
public void afterCommit() {
LocalDateTime now = LocalDateTime.now();
if (pre.getExpectedCollectionTime().isBefore(now) || pre.getExpectedCollectionTime().isEqual(now)) {
if (pre.getExpectedCollectionTime().isEqual(now)) {
scheduleService.executeTask(pre.getId());
} else {
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