Commit fab21b407da8db7557ae77b1443e4157a6560738
1 parent
d874e15b
1.
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/bsth/server_rs/schedule/WaybillService.java
| @@ -197,10 +197,10 @@ public class WaybillService implements InitializingBean { | @@ -197,10 +197,10 @@ public class WaybillService implements InitializingBean { | ||
| 197 | @Override | 197 | @Override |
| 198 | public void afterPropertiesSet() throws Exception { | 198 | public void afterPropertiesSet() throws Exception { |
| 199 | adjustExps.addAll(Arrays.asList("配车", "保养", "故障", "肇事", "路阻", "纠纷", "缺人", "客稀", "缺车", "气候", "援外", "吊慢", "抽减", "路救抛锚", "其他")); | 199 | adjustExps.addAll(Arrays.asList("配车", "保养", "故障", "肇事", "路阻", "纠纷", "缺人", "客稀", "缺车", "气候", "援外", "吊慢", "抽减", "路救抛锚", "其他")); |
| 200 | - BufferedReader reader = new BufferedReader(new FileReader("E:/waybill.txt")); | 200 | + /*BufferedReader reader = new BufferedReader(new FileReader("E:/waybill.txt")); |
| 201 | String line = reader.readLine(); | 201 | String line = reader.readLine(); |
| 202 | List<Waybill> waybills = mapper.readValue(line, mapper.getTypeFactory().constructParametricType(List.class, Waybill.class)); | 202 | List<Waybill> waybills = mapper.readValue(line, mapper.getTypeFactory().constructParametricType(List.class, Waybill.class)); |
| 203 | save(waybills); | 203 | save(waybills); |
| 204 | - task(); | 204 | + task();*/ |
| 205 | } | 205 | } |
| 206 | } | 206 | } |