xin
2025-05-30 347909bae241fff128b628ea6d12992d7e5b4b10
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package com.oying.modules.pc.store.service;
 
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.utils.PageResult;
 
import java.math.BigDecimal;
import java.time.LocalTime;
import java.util.List;
 
/**
 * 店铺基础信息Service接口
 *
 * @author lzp
 * @date 2025-04-22
 */
public interface StoreService extends IService<Store> {
 
    PageResult<Store> queryByPage(StoreQueryCriteria criteria);
 
    List<Store> queryAll(StoreQueryCriteria criteria);
 
    Store getMerchantStore(Long merchantId);
 
    boolean create(Store store);
 
    boolean updateLogo(Long storeId, String logo);
 
    boolean updateName(Long storeId, String storeName);
 
    boolean updateDescription(Long storeId, String description);
 
    boolean updateContactPhone(Long storeId, String contactPhone);
 
    boolean updateAddress(Long storeId, String address);
 
    boolean updateLocation(Long storeId, Double longitude, Double latitude);
 
    boolean updateRadius(Long storeId, Integer radius);
 
    boolean updatePlatformCategory(Long storeId, Long platformCategory);
 
    boolean updateBusinessHours(Long storeId, LocalTime openTime, LocalTime endTime);
 
    boolean updateDeliveryMinimum(Long storeId, BigDecimal deliveryMinimum);
 
    boolean updateDeliveryFee(Long storeId, BigDecimal deliveryFee);
 
    boolean updateStatus(Long storeId, Integer status);
 
    boolean existsByIdAndMerchantId(Long storeId, Long merchantId);
}