Pu Zhibing
2025-02-27 b380c7e0d061b5502114ab1214c2a217f7f6ee92
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
package com.panzhihua.sangeshenbian.dao;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.panzhihua.sangeshenbian.model.entity.SystemUser;
import com.panzhihua.sangeshenbian.warpper.SystemUserList;
import com.panzhihua.sangeshenbian.warpper.SystemUserListVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Map;
 
/**
 * @author zhibing.pu
 * @Date 2025/2/18 22:29
 */
@Mapper
public interface SystemUserMapper extends BaseMapper<SystemUser> {
    
    /**
     * 获取列表数据
     * @param query
     * @return
     */
    IPage<SystemUserListVo> list(Page page, @Param("accountLevel") Integer accountLevel, @Param("query") SystemUserList query);
    
    
    /**
     * 获取行政区划数据
     * @param pcode
     * @return
     */
    List<Map<String, Object>> getRegion(@Param("pcode") String pcode);
    
    /**
     * 获取街道数据
     * @param areaCode
     * @return
     */
    List<Map<String, Object>> getStreet(@Param("areaCode") String areaCode);
    
    
    /**
     * 获取社区数据
     * @param streetId
     * @return
     */
    List<Map<String, Object>> getCommunity(@Param("streetId") String streetId);
}