Commit ed801d1990d8789d63cc9727ea3eea1047dfd405
1 parent
26bb522b
update
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/service/realcontrol/impl/ScheduleRealInfoServiceImpl.java
| ... | ... | @@ -1060,7 +1060,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf |
| 1060 | 1060 | //修改班次里程 |
| 1061 | 1061 | String jhlc = map.get("jhlc"); |
| 1062 | 1062 | if (StringUtils.isNotEmpty(jhlc)) { |
| 1063 | - if(Double.parseDouble(jhlc) == 0) | |
| 1063 | + if(Double.parseDouble(jhlc) == 0 && sch.getJhlcOrig() != 0) | |
| 1064 | 1064 | destroy(sch.getId() + "", "", map.get("adjustExps").toString()); |
| 1065 | 1065 | else |
| 1066 | 1066 | sch.setJhlc(Double.parseDouble(jhlc)); | ... | ... |