| 
					
				 | 
			
			
				@@ -96,43 +96,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		${params.dataScope} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		ORDER BY u.user_id DESC 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	</select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	<select id="platAccountlist" parameterType="com.usky.system.domain.SysUser" resultMap="SysUserResult"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		select u.user_id, u.dept_id, u.user_name, u.nick_name, u.user_type, u.email, u.phonenumber, u.sex, u.full_name, u.avatar, u.password, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		u.status, u.del_flag, u.login_ip, u.login_date, u.create_by, u.create_time, u.remark 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		from sys_user u 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		where u.del_flag = '0' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		<if test="userName != null and userName != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			AND u.user_name like concat('%', #{userName}, '%') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		<if test="createBy != null and createBy != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			AND u.create_by = #{createBy} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		<if test="status != null and status != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			AND u.status = #{status} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		<if test="tenantId != null and tenantId != '' and tenantId !=0"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			AND u.tenant_id = #{tenantId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		<if test="userType != null and userType != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			AND u.user_type = #{userType} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		<if test="phonenumber != null and phonenumber != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			AND u.phonenumber like concat('%', #{phonenumber}, '%') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		<if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			AND date_format(u.create_time,'%Y-%m-%d %H:%i:%s') >= date_format(#{params.beginTime},'%Y-%m-%d %H:%i:%s') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		<if test="params.endTime != null and params.endTime != ''"><!-- 结束时间检索 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			AND date_format(u.create_time,'%Y-%m-%d %H:%i:%s') <= date_format(#{params.endTime},'%Y-%m-%d %H:%i:%s') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		<if test="deptId != null and deptId != 0"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			AND (u.dept_id = #{deptId} OR u.dept_id IN ( SELECT t.dept_id FROM sys_dept t WHERE find_in_set(#{deptId}, ancestors) )) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		<!-- 数据范围过滤 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		${params.dataScope} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		ORDER BY u.user_id DESC 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	</select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	<select id="selectAllocatedList" parameterType="com.usky.system.domain.SysUser" resultMap="SysUserResult"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	    select distinct u.user_id, u.dept_id, u.user_name, u.nick_name, u.email, u.phonenumber, u.status, u.create_time 
			 |