| 
					
				 | 
			
			
				@@ -480,6 +480,12 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         fs_user 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             fs_user.is_del = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="companyId != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                AND fs_user.company_id = #{companyId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="companyUserId != null and companyUserId != '' "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                AND fs_user.company_user_id = #{companyUserId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="registerStartTime != null and registerStartTime !='' "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 AND fs_user.create_time >= #{registerStartTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -493,10 +499,10 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="nickname != null and nickname != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                AND fs_user.nickname like concat(#{nickname},'%') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                AND fs_user.nickname like concat('%', #{nickname},'%') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="phone != null and phone != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                AND fs_user.phone = #{phone} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                AND fs_user.phone like concat('%', #{phone},'%') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         limit ${(pageNum-1)*pageSize},${pageSize} 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1491,6 +1497,12 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         fs_user 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             fs_user.is_del = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="companyId != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                AND fs_user.company_id = #{companyId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="companyUserId != null and companyUserId != '' "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                AND fs_user.company_user_id = #{companyUserId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="registerStartTime != null and registerStartTime !='' "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 AND fs_user.create_time >= #{registerStartTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1507,7 +1519,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 AND fs_user.nickname like concat(#{nickname},'%') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="phone != null and phone!=''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                AND fs_user.phone = #{phone} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                AND fs_user.phone like concat('%', #{phone},'%') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </select> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1699,4 +1711,18 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         fs_user.company_user_id, date(fs_user.create_time) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <select id="selectFsUserListByJointUserNameKey" parameterType="FsUser" resultMap="FsUserResult"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <include refid="selectFsUserVo"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="userName != null  and userName != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                AND ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                nickname like concat('%', #{userName}, '%') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                or  user_id LIKE concat('%',#{userName},'%') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        order by user_id desc 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </mapper> 
			 |