From 88d54c17f69f8973d558d03fd95637dc9d3b5bd6 Mon Sep 17 00:00:00 2001 From: Tankaikai Date: Wed, 9 Apr 2025 11:04:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E5=BA=97=E9=93=BA=E9=9C=80=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/account/service/impl/ShopInfoServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cash-service/account-service/src/main/java/com/czg/service/account/service/impl/ShopInfoServiceImpl.java b/cash-service/account-service/src/main/java/com/czg/service/account/service/impl/ShopInfoServiceImpl.java index 64893aee..fd255060 100644 --- a/cash-service/account-service/src/main/java/com/czg/service/account/service/impl/ShopInfoServiceImpl.java +++ b/cash-service/account-service/src/main/java/com/czg/service/account/service/impl/ShopInfoServiceImpl.java @@ -255,13 +255,13 @@ public class ShopInfoServiceImpl extends ServiceImpl i Integer isHeadShop = shopInfo.getIsHeadShop(); // 禁止加盟店/连锁店修改为单店 if (!shopType.equals(shopInfoEditDTO.getShopType())) { - throw new CzgException("禁止修改店铺类型"); + shopInfoEditDTO.setShopType(shopType); } if (!isHeadShop.equals(shopInfoEditDTO.getIsHeadShop())) { - throw new CzgException("禁止修改是否主店"); + shopInfoEditDTO.setIsHeadShop(isHeadShop); } if (mainId != null && !mainId.equals(shopInfoEditDTO.getMainId())) { - throw new CzgException("禁止重新选择店铺设为主店"); + shopInfoEditDTO.setMainId(mainId); } if (shopInfoEditDTO.getActivateCode() != null) { activateShop(shopInfo, shopInfoEditDTO.getActivateCode());