From 74f666605450658b86e1b5ca076500aa341b6f49 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期二, 22 七月 2025 13:59:09 +0800 Subject: [PATCH] yml活动管理代码 --- ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopController.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopController.java index 076abfc..83f385a 100644 --- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopController.java +++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopController.java @@ -258,6 +258,7 @@ //删除客服电话 QueryWrapper<Phone> queryWrapper = new QueryWrapper<>(); queryWrapper.eq("shop_id", shop.getId()); + queryWrapper.eq("type",2); Phone one = phoneService.getOne(queryWrapper); if (!one.getPhoneOne().equals(shop.getServiceTel())){ phoneService.removeById(one.getId()); -- Gitblit v1.7.1