|
@@ -380,10 +380,10 @@ public class AmsContractTruckPriceServiceImpl implements IAmsContractTruckPriceS
|
|
|
continue;
|
|
|
}else{
|
|
|
//小于10km取中标价格
|
|
|
- Map<String,Object> updatePrice=new HashMap<>();
|
|
|
+ /*Map<String,Object> updatePrice=new HashMap<>();
|
|
|
updatePrice.put("priceId",DataChange.dataToBigDecimal(stringObjectMap.get("priceId")));
|
|
|
updatePrice.put("priceValue",DataChange.dataToBigDecimal(zb.get("priceValue")));
|
|
|
- return amsContractTruckPriceMapper.updateByPriceId(updatePrice);
|
|
|
+ return amsContractTruckPriceMapper.updateByPriceId(updatePrice);*/
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -518,7 +518,7 @@ public class AmsContractTruckPriceServiceImpl implements IAmsContractTruckPriceS
|
|
|
try {
|
|
|
nowPriceValue = UpdatePureBenzenePriceValueByOilPrice(n.toString(),amsContractTransportPrice.getPriceValue(),formulaId);
|
|
|
//保留两位小数
|
|
|
- nowPriceValue = nowPriceValue.divide(new BigDecimal(1),3,0);
|
|
|
+ nowPriceValue = nowPriceValue.divide(new BigDecimal(1),2,BigDecimal.ROUND_HALF_UP);
|
|
|
//调整纯苯运价
|
|
|
amsContractTransportPrice.setPriceValue(nowPriceValue);
|
|
|
//修改基准油价
|