From b44306c69e6dff053e048da0bb8f3355cfda1256 Mon Sep 17 00:00:00 2001
From: zepengdev <lzpsmith@outlook.com>
Date: Mon, 04 Aug 2025 22:11:04 +0800
Subject: [PATCH] feat: 增加店铺包装费用修改接口

---
 oying-system/src/main/java/com/oying/modules/pc/store/service/StoreService.java |   19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/oying-system/src/main/java/com/oying/modules/pc/store/service/StoreService.java b/oying-system/src/main/java/com/oying/modules/pc/store/service/StoreService.java
index f1c3e56..e4dc65c 100644
--- a/oying-system/src/main/java/com/oying/modules/pc/store/service/StoreService.java
+++ b/oying-system/src/main/java/com/oying/modules/pc/store/service/StoreService.java
@@ -10,6 +10,7 @@
 import java.math.BigDecimal;
 import java.time.LocalTime;
 import java.util.List;
+import java.util.Set;
 
 /**
  * 店铺基础信息Service接口
@@ -23,15 +24,25 @@
 
     List<Store> queryAll(StoreQueryCriteria criteria);
 
+    List<Long> queryStoreIds(StoreQueryCriteria criteria);
+
     Store getMerchantStore(Long merchantId);
 
-    List<Store> queryUserStores(Long userId);
+    List<Store> getStoresByIds(Set<Long> ids);
+
+    List<Store> getUserStores(Long userId);
+
+    Store getOrThrow(Long storeId, Long version);
+
+    void create(Store resources);
 
     Store create(StoreCreateRequest request);
 
+    boolean update(Store resources, boolean isDirectUpdate);
+
     boolean update(StoreUpdateRequest request);
 
-    boolean updateLogo(Long storeId, String logo, Long version);
+    boolean updateLogo(Long storeId, Long logoImageId, Long version);
 
     boolean updateName(Long storeId, String storeName, Long version);
 
@@ -53,9 +64,13 @@
 
     boolean updateDeliveryFee(Long storeId, BigDecimal deliveryFee, Long version);
 
+    boolean updatePackagingFee(Long storeId, BigDecimal packagingFee, Long version);
+
     boolean updateStatus(Long storeId, Integer status, Long version);
 
     boolean existsByIdAndMerchantId(Long storeId, Long merchantId);
 
     boolean existsStoreName(String storeName);
+
+    boolean bindUser(Long store);
 }

--
Gitblit v1.9.3