| 
					
				 | 
			
			
				@@ -41,6 +41,39 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         where id = #{id} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <select id="selectQwFriendWelcomeList" resultType="com.fs.qw.domain.QwFriendWelcome"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        select 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            w.* 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        from qw_friend_welcome w 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="qwUserIds != null  and qwUserIds != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                and FIND_IN_SET(#{qwUserIds},REPLACE(REPLACE(REPLACE(qw_user_ids, '[', ''), ']', ''), ' ', '')) > 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="isSendMsg != null "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                and is_send_msg = #{isSendMsg} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="welcomeText != null  and welcomeText != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                and welcome_text = #{welcomeText} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="isDayparting != null "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                and is_dayparting = #{isDayparting} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="companyId != null "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                and company_id = #{companyId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="createTime != null "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                and create_time = #{createTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="corpId != null "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                and corp_id = #{corpId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="updateTime != null "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                and update_time = #{updateTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ${params.dataScope} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <insert id="insertQwFriendWelcomeVO" parameterType="QwFriendWelcome" useGeneratedKeys="true" keyProperty="id"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         insert into qw_friend_welcome 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <trim prefix="(" suffix=")" suffixOverrides=","> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -51,6 +84,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="isDayparting != null">is_dayparting,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="daypartingItemlist != null">dayparting_ItemList,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="companyId != null">company_id,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="companyUserId != null">user_id,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="deptId != null">dept_id,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="createTime != null">create_time,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="updateTime != null">update_time,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="corpId != null">corp_id,</if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -63,6 +98,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="isDayparting != null">#{isDayparting},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="daypartingItemlist != null">#{daypartingItemlist},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="companyId != null">#{companyId},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="companyUserId != null">#{companyUserId},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="deptId != null">#{deptId},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="createTime != null">#{createTime},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="updateTime != null">#{updateTime},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="corpId != null">#{corpId},</if> 
			 |