package com.ruoyi.other.service;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import com.ruoyi.common.core.web.page.PageInfo;
|
import com.ruoyi.other.api.domain.Shop;
|
import com.ruoyi.other.api.domain.ShopBalanceStatement;
|
import com.ruoyi.other.dto.AddGoodsDTO;
|
import com.ruoyi.other.vo.*;
|
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
import java.util.List;
|
|
/**
|
* <p>
|
* 服务类
|
* </p>
|
*
|
* @author luodangjia
|
* @since 2024-11-20
|
*/
|
public interface ShopService extends IService<Shop> {
|
|
IPage<Shop> getShopList(Integer PageNum, Integer pageSize, Shop shop);
|
|
|
List<NearbyShopVO> nearbyShopList(BigDecimal longitude, BigDecimal latitude,Shop shop);
|
|
ShopDetailVO getShopDetail(Integer shopId, BigDecimal longitude, BigDecimal latitude);
|
|
Boolean cheUserByPhone(String phone);
|
|
/**
|
* 保存提现账户
|
* @param saveWithdrawalAccount
|
*/
|
void saveWithdrawalAccount(SaveWithdrawalAccount saveWithdrawalAccount);
|
|
|
/**
|
* 店铺余额统计
|
*/
|
ShopBalanceVO getShopBalance(Integer shopId);
|
|
/**
|
* 店铺余额变更明细
|
*/
|
PageInfo<ShopBalanceStatementVO> getShopBalanceStatementList(Integer shopId, LocalDateTime startTime, LocalDateTime endTime, Integer type, Integer pageCurr, Integer pageSize);
|
|
/**
|
* 店铺内商品列表 门店后台
|
*/
|
|
List<GoodsVO> getGoodsListByShopId(PageInfo<GoodsVO> pageInfo, Integer shopId);
|
|
GoodsVO goodsDetail(Long goodsId);
|
|
Integer addGoodsByShop(AddGoodsDTO addGoodsDTO);
|
|
Integer editGoodsByShop(AddGoodsDTO addGoodsDTO);
|
}
|