From 728466c4924c04dc162811f34086855c51ec0878 Mon Sep 17 00:00:00 2001
From: xin <1099200748@qq.com>
Date: Fri, 29 Aug 2025 14:30:23 +0800
Subject: [PATCH] Merge branch 'master' into xin
---
oying-system/src/main/java/com/oying/modules/pc/store/service/StoreService.java | 21 ++++++++++++++++++---
1 files changed, 18 insertions(+), 3 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..901a842 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);
@@ -39,7 +50,7 @@
boolean updateContactPhone(Long storeId, String contactPhone, Long version);
- boolean updateAddress(Long storeId, String address, Long version);
+ boolean updateAddress(Long storeId, String address, Double longitude, Double latitude, Long version);
boolean updateLocation(Long storeId, Double longitude, Double latitude, 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