diff --git a/service/src/main/java/com/hfkj/channel/gas/newlink/NewLinkGasService.java b/service/src/main/java/com/hfkj/channel/gas/newlink/NewLinkGasService.java index 3a36ed5..0b4d8df 100644 --- a/service/src/main/java/com/hfkj/channel/gas/newlink/NewLinkGasService.java +++ b/service/src/main/java/com/hfkj/channel/gas/newlink/NewLinkGasService.java @@ -348,10 +348,8 @@ public class NewLinkGasService { } else if ("120000".equals(response.getString("code"))) { /*** 油站下线 ***/ - // 获取加油站数据 - JSONObject gasData = response.getJSONObject("result"); // 查询商户 - BsMerchant merchant = merchantService.getMerchant(gasData.getString("gasId")); + BsMerchant merchant = merchantService.getMerchant(merNo); if (merchant != null) { merchant.setStatus(MerchantStatusEnum.status2.getNumber()); // 修改商户信息