Commit 7731d81d authored by hongguangwu's avatar hongguangwu

MVP1.7.17-离职待办-优化代码

parent a62bcfe0
......@@ -416,7 +416,7 @@ public class TInsuranceWarnServiceImpl extends ServiceImpl<TInsuranceWarnMapper,
// 获取下一个工作日
public LocalDate getNextWorkday(LocalDate date, Map<String, Integer> holidayMap) {
LocalDate result = date.plusDays(CommonConstants.ONE_INT);
while (!this.isWorkday(date, holidayMap)) {
while (!this.isWorkday(result, holidayMap)) {
result = result.plusDays(CommonConstants.ONE_INT);
}
return result;
......
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