| | |
| | | |
| | | 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接口 |
| | |
| | | |
| | | 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); |
| | | |
| | |
| | | boolean updateStatus(Long storeId, Integer status, Long version); |
| | | |
| | | boolean existsByIdAndMerchantId(Long storeId, Long merchantId); |
| | | |
| | | boolean existsStoreName(String storeName); |
| | | |
| | | boolean bindUser(Long store); |
| | | } |