From 11f1aaac4aee848dff5d1743baa1ff061da26c58 Mon Sep 17 00:00:00 2001
From: zepengdev <lzpsmith@outlook.com>
Date: Mon, 04 Aug 2025 22:12:06 +0800
Subject: [PATCH] feat: 增加支持@PostMapping方式的店铺资质删除接口

---
 oying-system/src/main/java/com/oying/modules/pc/store/service/StoreService.java |   52 ++++++++++++++++++++++++++++++++++++----------------
 1 files changed, 36 insertions(+), 16 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 8bdcc52..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
@@ -2,15 +2,15 @@
 
 import com.baomidou.mybatisplus.extension.service.IService;
 import com.oying.modules.pc.store.domain.Store;
-import com.oying.modules.pc.store.domain.StoreCategory;
-import com.oying.modules.pc.store.domain.dto.StoreBusinessHoursRequest;
-import com.oying.modules.pc.store.domain.dto.StoreLocationUpdateRequest;
+import com.oying.modules.pc.store.domain.dto.StoreCreateRequest;
 import com.oying.modules.pc.store.domain.dto.StoreQueryCriteria;
+import com.oying.modules.pc.store.domain.dto.StoreUpdateRequest;
 import com.oying.utils.PageResult;
 
 import java.math.BigDecimal;
 import java.time.LocalTime;
 import java.util.List;
+import java.util.Set;
 
 /**
  * 店铺基础信息Service接口
@@ -24,33 +24,53 @@
 
     List<Store> queryAll(StoreQueryCriteria criteria);
 
+    List<Long> queryStoreIds(StoreQueryCriteria criteria);
+
     Store getMerchantStore(Long merchantId);
 
-    boolean create(Store store);
+    List<Store> getStoresByIds(Set<Long> ids);
 
-    boolean updateLogo(Long storeId, String logo);
+    List<Store> getUserStores(Long userId);
 
-    boolean updateName(Long storeId, String storeName);
+    Store getOrThrow(Long storeId, Long version);
 
-    boolean updateDescription(Long storeId, String description);
+    void create(Store resources);
 
-    boolean updateContactPhone(Long storeId, String contactPhone);
+    Store create(StoreCreateRequest request);
 
-    boolean updateAddress(Long storeId, String address);
+    boolean update(Store resources, boolean isDirectUpdate);
 
-    boolean updateLocation(Long storeId, Double longitude, Double latitude);
+    boolean update(StoreUpdateRequest request);
 
-    boolean updateRadius(Long storeId, Integer radius);
+    boolean updateLogo(Long storeId, Long logoImageId, Long version);
 
-    boolean updatePlatformCategory(Long storeId, Long platformCategory);
+    boolean updateName(Long storeId, String storeName, Long version);
 
-    boolean updateBusinessHours(Long storeId, LocalTime openTime, LocalTime endTime);
+    boolean updateDescription(Long storeId, String description, Long version);
 
-    boolean updateDeliveryMinimum(Long storeId, BigDecimal deliveryMinimum);
+    boolean updateContactPhone(Long storeId, String contactPhone, Long version);
 
-    boolean updateDeliveryFee(Long storeId, BigDecimal deliveryFee);
+    boolean updateAddress(Long storeId, String address, Long version);
 
-    boolean updateStatus(Long storeId, Integer status);
+    boolean updateLocation(Long storeId, Double longitude, Double latitude, Long version);
+
+    boolean updateRadius(Long storeId, Integer radius, Long version);
+
+    boolean updatePlatformCategory(Long storeId, Long platformCategory, Long version);
+
+    boolean updateBusinessHours(Long storeId, LocalTime openTime, LocalTime endTime, Long version);
+
+    boolean updateDeliveryMinimum(Long storeId, BigDecimal deliveryMinimum, Long version);
+
+    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