Commit f16c64a0 authored by 刘林's avatar 刘林

fix(JG):车用气瓶-后端修改

parent 7f598d27
...@@ -236,8 +236,7 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform ...@@ -236,8 +236,7 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
vehicleInformation.setVolume(String.valueOf(equipmentLists.stream() vehicleInformation.setVolume(String.valueOf(equipmentLists.stream()
.mapToDouble(x -> Double.parseDouble(String.valueOf(x.get("singleBottleVolume")))) .mapToDouble(x -> Double.parseDouble(String.valueOf(x.get("singleBottleVolume"))))
.sum())); .sum()));
vehicleInformation.setFillingMedium(Systemctl.dictionarieClient.value("FILLING_MEDIUM", equipmentLists.get(0) vehicleInformation.setFillingMedium(equipmentLists.get(0).get("chargingMedium") + "");
.get("chargingMedium") + "").getResult().getDictDataValue());
boolean hasId = StringUtils.isEmpty(vehicleInfoDto.getSequenceNbr()); boolean hasId = StringUtils.isEmpty(vehicleInfoDto.getSequenceNbr());
//新增 //新增
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment