xin
2025-07-14 b4d3224898d50b8f1e30b5c8083a520743927282
oying-system/src/main/java/com/oying/modules/pc/store/service/StoreService.java
@@ -2,13 +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.*;
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接口
@@ -22,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);
    boolean create(StoreCreateRequest request);
    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);
@@ -55,4 +67,8 @@
    boolean updateStatus(Long storeId, Integer status, Long version);
    boolean existsByIdAndMerchantId(Long storeId, Long merchantId);
    boolean existsStoreName(String storeName);
    boolean bindUser(Long store);
}