From 5745a87f3a139ea2bbdaf4704978e4c151ecc45a Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Tue, 23 Jan 2024 17:39:48 +0800
Subject: [PATCH] 物业管理管和项目经理数据过滤

---
 src/main/java/org/springblade/modules/system/service/IUserService.java |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 48 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..6c39253 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,50 @@
 	 * @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();
+
+	List<User> getUserInfoByPropertyId(String propertyCompanyId);
 }

--
Gitblit v1.9.3