From 9003f17defc6d3b39340dd1a89776695268789b5 Mon Sep 17 00:00:00 2001 From: zepengdev <lzpsmith@outlook.com> Date: Thu, 26 Jun 2025 22:25:57 +0800 Subject: [PATCH] fix: 修复平台类目图标显示问题 --- oying-system/src/main/java/com/oying/modules/pc/store/service/StoreService.java | 34 ++++++++++++++++++---------------- 1 files changed, 18 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..d56cbfc 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 @@ -3,9 +3,7 @@ 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.StoreQueryCriteria; +import com.oying.modules.pc.store.domain.dto.*; import com.oying.utils.PageResult; import java.math.BigDecimal; @@ -26,31 +24,35 @@ Store getMerchantStore(Long merchantId); - boolean create(Store store); + List<Store> queryUserStores(Long userId); - boolean updateLogo(Long storeId, String logo); + boolean create(StoreCreateRequest request); - boolean updateName(Long storeId, String storeName); + boolean update(StoreUpdateRequest request); - boolean updateDescription(Long storeId, String description); + boolean updateLogo(Long storeId, String logo, Long version); - boolean updateContactPhone(Long storeId, String contactPhone); + boolean updateName(Long storeId, String storeName, Long version); - boolean updateAddress(Long storeId, String address); + boolean updateDescription(Long storeId, String description, Long version); - boolean updateLocation(Long storeId, Double longitude, Double latitude); + boolean updateContactPhone(Long storeId, String contactPhone, Long version); - boolean updateRadius(Long storeId, Integer radius); + boolean updateAddress(Long storeId, String address, Long version); - boolean updatePlatformCategory(Long storeId, Long platformCategory); + boolean updateLocation(Long storeId, Double longitude, Double latitude, Long version); - boolean updateBusinessHours(Long storeId, LocalTime openTime, LocalTime endTime); + boolean updateRadius(Long storeId, Integer radius, Long version); - boolean updateDeliveryMinimum(Long storeId, BigDecimal deliveryMinimum); + boolean updatePlatformCategory(Long storeId, Long platformCategory, Long version); - boolean updateDeliveryFee(Long storeId, BigDecimal deliveryFee); + boolean updateBusinessHours(Long storeId, LocalTime openTime, LocalTime endTime, Long version); - boolean updateStatus(Long storeId, Integer status); + boolean updateDeliveryMinimum(Long storeId, BigDecimal deliveryMinimum, Long version); + + boolean updateDeliveryFee(Long storeId, BigDecimal deliveryFee, Long version); + + boolean updateStatus(Long storeId, Integer status, Long version); boolean existsByIdAndMerchantId(Long storeId, Long merchantId); } -- Gitblit v1.9.3