fix(定时报告): 时间不能选择周六
This commit is contained in:
parent
0f7b37b072
commit
3447266d99
@ -100,7 +100,7 @@ public class CronUtils {
|
||||
}
|
||||
private static String getDayOfWeek(Calendar instance) {
|
||||
int index = instance.get(Calendar.DAY_OF_WEEK);
|
||||
index = (index + 1) % 7;
|
||||
index = index + 1;
|
||||
return String.valueOf(index);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user