mitao
2025-03-14 08f1b1f1804a8bd833d42f257908d80e88387b55
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
package com.panzhihua.sangeshenbian.service;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.panzhihua.common.model.vos.sangeshenbian.SystemUserVo;
import com.panzhihua.sangeshenbian.model.entity.SystemUser;
import com.panzhihua.sangeshenbian.model.vo.RegionVO;
import com.panzhihua.sangeshenbian.model.vo.UpdatePasswordDTO;
import com.panzhihua.sangeshenbian.warpper.SystemUserList;
import com.panzhihua.sangeshenbian.warpper.SystemUserListVo;
 
import java.util.List;
import java.util.Optional;
 
/**
 * @author zhibing.pu
 * @Date 2025/2/18 22:30
 */
public interface ISystemUserService extends IService<SystemUser> {
    
    /**
     * 获取列表数据
     * @param query
     * @return
     */
    IPage<SystemUserListVo> list(SystemUser user, SystemUserList query);
 
    /**
     * 根据手机号码查询小程序用户在三个身边的上级角色用户
     */
    Optional<SystemUser> getSystemUserByPhone(String phone);
    
    
    /**
     * 获取行政区划数据
     *
     * @param pcode
     * @return
     */
    List<RegionVO> getRegion(String pcode);
    
    
    /**
     * 获取街道数据
     *
     * @param areaCode
     * @return
     */
    List<RegionVO> getStreet(String areaCode);
    
    
    /**
     * 获取社区数据
     *
     * @param streetId
     * @return
     */
    List<RegionVO> getCommunity(String streetId);
 
    /**
     * 修改密码
     * @param dto
     * @param systemUserVo
     */
    void updatePassword(UpdatePasswordDTO dto, SystemUserVo systemUserVo);
}