diff --git a/service/src/main/java/com/hfkj/service/gas/impl/BsGasOilPriceWeekServiceImpl.java b/service/src/main/java/com/hfkj/service/gas/impl/BsGasOilPriceWeekServiceImpl.java index d62fa53..545d3a1 100644 --- a/service/src/main/java/com/hfkj/service/gas/impl/BsGasOilPriceWeekServiceImpl.java +++ b/service/src/main/java/com/hfkj/service/gas/impl/BsGasOilPriceWeekServiceImpl.java @@ -74,6 +74,7 @@ public class BsGasOilPriceWeekServiceImpl implements BsGasOilPriceWeekService { } oilPrice.setPriceGun(priceWeek.getPriceGun()); oilPrice.setPriceVip(priceWeek.getPriceVip()); + oilPrice.setGasStationDrop(oilPrice.getPriceOfficial().subtract(oilPrice.getPriceGun())); gasOilPriceService.editOilPrice(oilPrice); } }