Commit 5358bda8fb92372b7b98693df8c54d9b20008872

Authored by 潘钊
1 parent f8d7df5b

update...

src/main/java/com/bsth/server_ws/util/ScheduleCalculator.java
... ... @@ -121,7 +121,7 @@ public class ScheduleCalculator {
121 121 //有子任务
122 122 if (cts != null && cts.size() > 0) {
123 123 for (ChildTaskPlan ct : cts) {
124   - if (!isInOut(ct) && !ct.isDestroy())
  124 + if (ct.getMileageType().equals("service") && !ct.isDestroy())
125 125 sum = Arith.add(sum, ct.getMileage());
126 126 }
127 127 } else
... ...