Commit c1b0e05a7de7c26388301f728089cc713578fe7d

Authored by panzhaov5
1 parent 4338e8de

update...

src/main/java/com/bsth/server_ws/util/ScheduleCalculator.java
... ... @@ -330,7 +330,7 @@ public class ScheduleCalculator {
330 330  
331 331 try {
332 332 for (ScheduleRealInfo sch : list) {
333   - if (!sch.isSflj() || isInOut(sch))
  333 + if (!sch.isSflj() || isInOut(sch) || sch.getBcType().equals("ldks"))
334 334 continue;
335 335  
336 336 count++;
... ... @@ -352,7 +352,7 @@ public class ScheduleCalculator {
352 352  
353 353 try {
354 354 for (ScheduleRealInfo sch : list) {
355   - if (sch.getStatus() != -1 || isInOut(sch))
  355 + if (sch.getStatus() != -1 || isInOut(sch) || sch.getBcType().equals("ldks"))
356 356 continue;
357 357  
358 358 count++;
... ...
src/main/resources/application.properties
... ... @@ -15,4 +15,4 @@ server.compression.enabled=true
15 15 server.compression.mime-types=application/json,application/xml,text/html,text/xml,text/plain,text/javascript,text/css,application/javascript
16 16  
17 17 #redis
18   -cache.days=32
  18 +cache.days=12
... ...