Commit 5358bda8fb92372b7b98693df8c54d9b20008872
1 parent
f8d7df5b
update...
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/server_ws/util/ScheduleCalculator.java
| @@ -121,7 +121,7 @@ public class ScheduleCalculator { | @@ -121,7 +121,7 @@ public class ScheduleCalculator { | ||
| 121 | //有子任务 | 121 | //有子任务 |
| 122 | if (cts != null && cts.size() > 0) { | 122 | if (cts != null && cts.size() > 0) { |
| 123 | for (ChildTaskPlan ct : cts) { | 123 | for (ChildTaskPlan ct : cts) { |
| 124 | - if (!isInOut(ct) && !ct.isDestroy()) | 124 | + if (ct.getMileageType().equals("service") && !ct.isDestroy()) |
| 125 | sum = Arith.add(sum, ct.getMileage()); | 125 | sum = Arith.add(sum, ct.getMileage()); |
| 126 | } | 126 | } |
| 127 | } else | 127 | } else |