Commit 3b1217934061b31cfaaa2f49055311eb52d236e0
1 parent
22ea06d9
增加运管处上传日志的保存功能(时刻表上传、线路上传、路单上传)
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/bsth/service/impl/TrafficManageServiceImpl.java
| ... | ... | @@ -417,8 +417,8 @@ public class TrafficManageServiceImpl implements TrafficManageService{ |
| 417 | 417 | } |
| 418 | 418 | counter ++; |
| 419 | 419 | xlbm = BasicData.lineCode2ShangHaiCodeMap.get(schRealInfo.get("xlBm")+""); |
| 420 | - // 保存一次路单的线路编码,用于发送邮箱 | |
| 421 | - if(logXlbmMap.get(xlbm) == null){ | |
| 420 | + // 保存一线次路单的路编码,用于发送邮箱 | |
| 421 | + if(xlbm != null && !xlbm.equals("null") && logXlbmMap.get(xlbm) == null){ | |
| 422 | 422 | logXlbmMap.put(xlbm,xlbm); |
| 423 | 423 | } |
| 424 | 424 | logLineMap.put(line.getLineCode(),line); | ... | ... |