Commit 933d77af87b2f1e3fd5c67a45ce88419138732d7
1 parent
64b50825
update...
Showing
1 changed file
with
3 additions
and
0 deletions
src/main/java/com/bsth/redis/ScheduleRedisService.java
| @@ -315,6 +315,9 @@ public class ScheduleRedisService implements CommandLineRunner { | @@ -315,6 +315,9 @@ public class ScheduleRedisService implements CommandLineRunner { | ||
| 315 | if(null == startTime) | 315 | if(null == startTime) |
| 316 | return; | 316 | return; |
| 317 | 317 | ||
| 318 | + if(null == sch.getBcsj()) | ||
| 319 | + sch.setBcsj(0); | ||
| 320 | + | ||
| 318 | String rq = sch.getScheduleDateStr(); | 321 | String rq = sch.getScheduleDateStr(); |
| 319 | //计发时间 | 322 | //计发时间 |
| 320 | sch.setFcsjT(parseTime(rq, sch.getFcsj(), startTime)); | 323 | sch.setFcsjT(parseTime(rq, sch.getFcsj(), startTime)); |