huliguo
2025-04-21 17abf0608f62cdd318dba3e7b12a32ea486cb482
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
57
58
59
60
61
62
63
64
65
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);
 
    PageInfo<ShopBalanceListVO> getBalanceList(String name, Integer pageCurr, Integer pageSize);
}