|
|
@ -142,6 +142,8 @@ public class HighGasOilPriceOfficialServiceImpl implements HighGasOilPriceOffici |
|
|
|
List<HighGasOilPrice> list = highGasOilPriceService.getPriceListByRegionAndOilNo(priceOfficial.getRegionId(), priceOfficial.getOilNo()); |
|
|
|
List<HighGasOilPrice> list = highGasOilPriceService.getPriceListByRegionAndOilNo(priceOfficial.getRegionId(), priceOfficial.getOilNo()); |
|
|
|
for (HighGasOilPrice gasOilPrice : list) { |
|
|
|
for (HighGasOilPrice gasOilPrice : list) { |
|
|
|
gasOilPrice.setPriceOfficial(priceOfficial.getPriceOfficial()); |
|
|
|
gasOilPrice.setPriceOfficial(priceOfficial.getPriceOfficial()); |
|
|
|
|
|
|
|
gasOilPrice.setPriceGun(priceOfficial.getPriceOfficial()); |
|
|
|
|
|
|
|
gasOilPrice.setPriceVip(priceOfficial.getPriceOfficial().subtract(gasOilPrice.getPreferentialMargin())); |
|
|
|
highGasOilPriceService.editGasOilPrice(gasOilPrice); |
|
|
|
highGasOilPriceService.editGasOilPrice(gasOilPrice); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|