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);
|
}
|