From 247334f846890e000afd4b1d1230e86d1ba11cc6 Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期六, 17 八月 2024 17:27:41 +0800 Subject: [PATCH] 站点信息价格判断折扣和内部会员折扣 --- ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/service/impl/TChargingPileServiceImpl.java | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/service/impl/TChargingPileServiceImpl.java b/ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/service/impl/TChargingPileServiceImpl.java index fda8e8f..a6567a5 100644 --- a/ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/service/impl/TChargingPileServiceImpl.java +++ b/ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/service/impl/TChargingPileServiceImpl.java @@ -222,8 +222,7 @@ } for (Integer id : ids) { TChargingPile chargingPile = this.getById(id); - chargingPile.setDelFlag(true); - this.updateById(chargingPile); + this.removeById(chargingPile); } return AjaxResult.success(); } -- Gitblit v1.7.1