Commit b393aa20df31a109e5ba619be1d3cef484c4c4ba
1 parent
3e6c0fc5
路单详情添加线路性质筛选条件
Showing
1 changed file
with
3 additions
and
2 deletions
src/main/java/com/bsth/service/calc/impl/CalcWaybillServiceImpl.java
| @@ -1352,7 +1352,7 @@ public class CalcWaybillServiceImpl extends BaseServiceImpl<CalcWaybill, Integer | @@ -1352,7 +1352,7 @@ public class CalcWaybillServiceImpl extends BaseServiceImpl<CalcWaybill, Integer | ||
| 1352 | } else { | 1352 | } else { |
| 1353 | calcLineMileageRepository.deleteByDate(date); | 1353 | calcLineMileageRepository.deleteByDate(date); |
| 1354 | } | 1354 | } |
| 1355 | - calcLineMileageRepository.save(list); | 1355 | + calcLineMileageRepository.saveAll(list); |
| 1356 | 1356 | ||
| 1357 | resMap.put("status", ResponseCode.SUCCESS); | 1357 | resMap.put("status", ResponseCode.SUCCESS); |
| 1358 | } catch (Exception e) { | 1358 | } catch (Exception e) { |
| @@ -1478,7 +1478,7 @@ public class CalcWaybillServiceImpl extends BaseServiceImpl<CalcWaybill, Integer | @@ -1478,7 +1478,7 @@ public class CalcWaybillServiceImpl extends BaseServiceImpl<CalcWaybill, Integer | ||
| 1478 | } else { | 1478 | } else { |
| 1479 | calcBusMileageRepository.deleteByDate(date); | 1479 | calcBusMileageRepository.deleteByDate(date); |
| 1480 | } | 1480 | } |
| 1481 | - calcBusMileageRepository.save(list); | 1481 | + calcBusMileageRepository.saveAll(list); |
| 1482 | 1482 | ||
| 1483 | resMap.put("status", ResponseCode.SUCCESS); | 1483 | resMap.put("status", ResponseCode.SUCCESS); |
| 1484 | } catch (Exception e) { | 1484 | } catch (Exception e) { |
| @@ -2261,6 +2261,7 @@ public class CalcWaybillServiceImpl extends BaseServiceImpl<CalcWaybill, Integer | @@ -2261,6 +2261,7 @@ public class CalcWaybillServiceImpl extends BaseServiceImpl<CalcWaybill, Integer | ||
| 2261 | } else if("cl".equals(statisticalObj)){ | 2261 | } else if("cl".equals(statisticalObj)){ |
| 2262 | listStr.add(c.getCl()); | 2262 | listStr.add(c.getCl()); |
| 2263 | listStr.add(BasicData.nbbmCompanyPlateMap.get(c.getCl())+""); | 2263 | listStr.add(BasicData.nbbmCompanyPlateMap.get(c.getCl())+""); |
| 2264 | + listStr.add(carsMap.get(c.getCl())); | ||
| 2264 | } else if("xl".equals(statisticalObj)){ | 2265 | } else if("xl".equals(statisticalObj)){ |
| 2265 | 2266 | ||
| 2266 | } | 2267 | } |