From c7d2595f3587f8cbb70cba2d6ca8513a039f073a Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Wed, 31 Jul 2024 14:46:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/hfkj/service/gas/impl/BsGasOilPriceWeekServiceImpl.java | 1 + 1 file changed, 1 insertion(+) 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); } }