From ad2ec97fe0c60eee4bb7c8cdacff7c876f280ea7 Mon Sep 17 00:00:00 2001 From: linwei <872216696@qq.com> Date: Mon, 08 Jan 2024 11:30:18 +0800 Subject: [PATCH] 公安安全监管 --- src/main/java/org/springblade/modules/system/service/IUserService.java | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 46 insertions(+), 0 deletions(-) diff --git a/src/main/java/org/springblade/modules/system/service/IUserService.java b/src/main/java/org/springblade/modules/system/service/IUserService.java index 932d0a5..b2259d8 100644 --- a/src/main/java/org/springblade/modules/system/service/IUserService.java +++ b/src/main/java/org/springblade/modules/system/service/IUserService.java @@ -19,6 +19,7 @@ import com.baomidou.mybatisplus.core.conditions.Wrapper; import com.baomidou.mybatisplus.core.metadata.IPage; +import org.flowable.idm.engine.impl.persistence.entity.UserEntity; import org.springblade.core.mp.base.BaseService; import org.springblade.core.mp.support.Query; import org.springblade.modules.auth.enums.UserEnum; @@ -26,6 +27,7 @@ import org.springblade.modules.system.entity.UserInfo; import org.springblade.modules.system.entity.UserOauth; import org.springblade.modules.system.excel.UserExcel; +import org.springblade.modules.system.vo.UserDetailVO; import org.springblade.modules.system.vo.UserVO; import java.util.List; @@ -206,4 +208,48 @@ * @return */ UserVO platformDetail(User user); + + /** + * 按条件查询用户信息 + * @param user + * @return + */ + List<UserVO> getUserListByParam(UserVO user); + + /** + * 通过小区Id搜索用户 + * @param districtId + * @return + */ + List<User> searchUserByDistrictId(String districtId); + + /** + * 根据手机号查询对应账号和手机号的用户信息 + * @param phoneNumber + * @return + */ + List<User> getUserListByPhoneOrAccount(String phoneNumber); + + /** + * 获取用户信息 + * @return + */ + UserDetailVO getUserInfo(Long userId); + + /** + * 获取用户信息ById + * + * @param id + * @return + */ + UserVO getuserById(Long id); + + List<UserEntity> getUserInfoByCode(String houseCode, String type); + + List<UserEntity> getUserInfoByDistrictId(String districtId, String building); + + /** + * 处理漏绑定的user_dept + */ + Object handleUserDept(); } -- Gitblit v1.9.3