fix:时间校验
This commit is contained in:
@@ -105,11 +105,11 @@ public class DateUtils {
|
|||||||
}
|
}
|
||||||
if (StringUtils.isEmpty(status)) {
|
if (StringUtils.isEmpty(status)) {
|
||||||
if (StringUtils.equals(week, "周六") || StringUtils.equals(week, "周日")) {
|
if (StringUtils.equals(week, "周六") || StringUtils.equals(week, "周日")) {
|
||||||
log.info("当前日期:{}, {}, 是工作日", date, week);
|
log.info("当前日期:{}, {}, 是周末", date, week);
|
||||||
return Boolean.FALSE;
|
|
||||||
}
|
|
||||||
return Boolean.TRUE;
|
return Boolean.TRUE;
|
||||||
}
|
}
|
||||||
return Boolean.FALSE;
|
return Boolean.FALSE;
|
||||||
}
|
}
|
||||||
|
return Boolean.TRUE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user