| | |
| | | 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); |
| | | |
| | | 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 existsByIdAndMerchantId(Long storeId, Long merchantId); |
| | | |
| | | boolean existsStoreName(String storeName); |
| | | |
| | | boolean bindUser(Long store); |
| | | } |