From 62d76b3a67290509e9f9c3f6b5877ee50fab0f2a Mon Sep 17 00:00:00 2001 From: liyj <1617420630@qq.com> Date: Tue, 30 Sep 2025 10:47:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=BA=97=E9=93=BA=E8=90=A5?= =?UTF-8?q?=E4=B8=9A=E6=97=B6=E9=97=B4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../store/service/impl/ShopStoreBaseServiceImpl.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mall-shop/src/main/java/com/suisung/mall/shop/store/service/impl/ShopStoreBaseServiceImpl.java b/mall-shop/src/main/java/com/suisung/mall/shop/store/service/impl/ShopStoreBaseServiceImpl.java index a00c33b9..c3d207de 100644 --- a/mall-shop/src/main/java/com/suisung/mall/shop/store/service/impl/ShopStoreBaseServiceImpl.java +++ b/mall-shop/src/main/java/com/suisung/mall/shop/store/service/impl/ShopStoreBaseServiceImpl.java @@ -3875,6 +3875,7 @@ public class ShopStoreBaseServiceImpl extends BaseServiceImpl shopStoreInfoUpdateWrapper=new UpdateWrapper<>(); + shopStoreInfoUpdateWrapper.eq("store_id",storeId); + shopStoreInfoUpdateWrapper.set("store_opening_hours",store_opening_hours); + shopStoreInfoUpdateWrapper.set("store_close_hours",store_close_hours); + shopStoreInfoService.update(shopStoreInfoUpdateWrapper); + } // 使用 UpdateWrapper 更新店铺营业状态 boolean updated = update(new UpdateWrapper() .eq("store_id", storeId)