|
|
|
@ -44,6 +44,9 @@ public class HighGasOilPriceController { |
|
|
|
|
@Resource |
|
|
|
|
private HighGasOilPriceOfficialService gasOilPriceOfficialService; |
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
private HighGasOilGunNoService gasOilGunNoService; |
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
private HighGasDiscountOilPriceService gasDiscountOilPriceService; |
|
|
|
|
|
|
|
|
@ -129,6 +132,11 @@ public class HighGasOilPriceController { |
|
|
|
|
price.setStatus(0); |
|
|
|
|
gasOilPriceService.editGasOilPrice(price); |
|
|
|
|
|
|
|
|
|
List<HighGasOilGunNo> oilGunNoList = gasOilGunNoService.getGunNoListByOilPrice(price.getId()); |
|
|
|
|
for (HighGasOilGunNo gunNo : oilGunNoList) { |
|
|
|
|
gunNo.setStatus(0); |
|
|
|
|
gasOilGunNoService.editGunNo(gunNo); |
|
|
|
|
} |
|
|
|
|
return ResponseMsgUtil.success("操作成功"); |
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|