Commit 7dff9fe19d3fe4575653ec3856e5566fceedbda4

Authored by 潘钊
1 parent f2619bc3

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))
  124 + if (!isInOut(ct) && !ct.isDestroy())
125 125 sum = Arith.add(sum, ct.getMileage());
126 126 }
127 127 } else
... ...