puzhibing
2023-12-04 3ad6b6ba2ba56fc0bcd2130e47190779c6e15acc
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
66
67
68
69
70
71
72
73
74
75
76
77
package com.dsh.other.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dsh.other.entity.OperatorUser;
import com.dsh.other.entity.Store;
import com.dsh.other.model.BaseVo;
import com.dsh.other.model.ProvinceAndCityVo;
import com.dsh.other.model.dto.siteDto.StoreInfoDto;
import org.apache.ibatis.annotations.Param;
import org.aspectj.lang.annotation.DeclareParents;
 
import java.util.List;
import java.util.Map;
 
 
/**
 * <p>
 * 门店信息 Mapper 接口
 * </p>
 *
 * @author jqs
 * @since 2023-06-14
 */
public interface StoreMapper extends BaseMapper<Store> {
 
 
    /**
     * 获取省数据
     *
     * @return
     */
    List<ProvinceAndCityVo> queryProvince();
 
 
    /**
     * 获取市数据
     *
     * @param pcode
     * @return
     */
    List<ProvinceAndCityVo> queryCity(@Param("pcode") String pcode);
 
 
    /**
     * 根据城市code获取城市列表
     *
     * @param cityCode
     * @return
     */
    List<BaseVo> queryStoreByCityCode(@Param("provinceCode") String provinceCode, @Param("cityCode") String cityCode);
 
    /**
     * 根据城市管理员id获取门店集合
     *
     * @param id
     * @return
     */
    List<Store> getStoreByCityManagerId(@Param("id") Integer id);
 
    /**
     * 根据门店员工id获取门店集合
     *
     * @param id
     * @return
     */
    List<Store> getStoreByStoreStaffId(@Param("id") Integer id);
 
    String getOName(@Param("operatorId") Integer operatorId);
 
 
    List<Map<String, Object>> game(@Param("appUserId") Integer appUserId);
 
    OperatorUser queryByStoreId(@Param("id") Integer id);
 
    StoreInfoDto getStoreInfo(@Param("id") Integer id);
 
}