Commit 6cde518072a969139b1fa8193404317e7d6349c1
1 parent
59bfc99633
Exists in
master
and in
6 other branches
update
Showing 2 changed files with 5 additions and 5 deletions
platform-common/src/main/java/com/lyms/platform/common/utils/DateUtil.java
View file @
6cde518
... | ... | @@ -1577,10 +1577,10 @@ |
1577 | 1577 | |
1578 | 1578 | public static void main(String[] args) { |
1579 | 1579 | |
1580 | - Date bir = parseYMD("2020-05-01"); | |
1581 | - Date bir1 = parseYMD("2020-03-27"); | |
1582 | - int i = DateUtil.getWeek(bir, bir1); | |
1583 | - System.out.println(bir.getTime()); | |
1580 | + Date bir = parseYMD("2017-06-27"); | |
1581 | + Date bir1 = parseYMD("2020-06-29"); | |
1582 | + String i = DateUtil.getBabyMonthAge(bir, bir1); | |
1583 | + System.out.println(i); | |
1584 | 1584 | |
1585 | 1585 | } |
1586 | 1586 |
platform-operate-api/src/main/resources/spring/applicationContext-quartz.xml
View file @
6cde518
... | ... | @@ -471,7 +471,7 @@ |
471 | 471 | |
472 | 472 | <bean id="autoGetSieveTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean"> |
473 | 473 | <property name="jobDetail" ref="autoGetSieveJob"/> |
474 | - <property name="cronExpression" value="0 45 14 * * ?"></property> | |
474 | + <property name="cronExpression" value="0 0 0/2 * * ? "></property> | |
475 | 475 | </bean> |
476 | 476 | |
477 | 477 |