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.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> getSystemUserAdminByPhone(String phone);
|
|
/**
|
* 根据手机号码查询小程序用户在三个身边的用户
|
*/
|
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 loginUserInfo
|
* @return
|
*/
|
List<RegionVO> getRegionTree(SystemUserVo loginUserInfo);
|
}
|