| 
														
															@@ -8,10 +8,10 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <result column="staff_id" jdbcType="BIGINT" property="staffId" /> 
														 | 
														
														 | 
														
															     <result column="staff_id" jdbcType="BIGINT" property="staffId" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <result column="video_id" jdbcType="BIGINT" property="videoId" /> 
														 | 
														
														 | 
														
															     <result column="video_id" jdbcType="BIGINT" property="videoId" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <result column="attachment_idx" jdbcType="INTEGER" property="attachmentIdx" /> 
														 | 
														
														 | 
														
															     <result column="attachment_idx" jdbcType="INTEGER" property="attachmentIdx" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    <result column="message_id" jdbcType="BIGINT" property="messageId" /> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <result column="status" jdbcType="INTEGER" property="status" /> 
														 | 
														
														 | 
														
															     <result column="status" jdbcType="INTEGER" property="status" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <result column="send_time" jdbcType="TIMESTAMP" property="sendTime" /> 
														 | 
														
														 | 
														
															     <result column="send_time" jdbcType="TIMESTAMP" property="sendTime" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <result column="is_delete" jdbcType="INTEGER" property="isDelete" /> 
														 | 
														
														 | 
														
															     <result column="is_delete" jdbcType="INTEGER" property="isDelete" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    <result column="source" jdbcType="VARCHAR" property="source" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> 
														 | 
														
														 | 
														
															     <result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   </resultMap> 
														 | 
														
														 | 
														
															   </resultMap> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   <sql id="Example_Where_Clause"> 
														 | 
														
														 | 
														
															   <sql id="Example_Where_Clause"> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -73,8 +73,8 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </where> 
														 | 
														
														 | 
														
															     </where> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   </sql> 
														 | 
														
														 | 
														
															   </sql> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   <sql id="Base_Column_List"> 
														 | 
														
														 | 
														
															   <sql id="Base_Column_List"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    id, corp_id, user_id, staff_id, video_id, attachment_idx, message_id, `status`, send_time,  
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    is_delete, create_time 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    id, corp_id, user_id, staff_id, video_id, attachment_idx, `status`, send_time, is_delete, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    `source`, create_time 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   </sql> 
														 | 
														
														 | 
														
															   </sql> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   <select id="selectByExample" parameterType="com.tzld.piaoquan.wecom.model.po.HistoryMessageExample" resultMap="BaseResultMap"> 
														 | 
														
														 | 
														
															   <select id="selectByExample" parameterType="com.tzld.piaoquan.wecom.model.po.HistoryMessageExample" resultMap="BaseResultMap"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     select 
														 | 
														
														 | 
														
															     select 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -112,12 +112,12 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   <insert id="insert" parameterType="com.tzld.piaoquan.wecom.model.po.HistoryMessage"> 
														 | 
														
														 | 
														
															   <insert id="insert" parameterType="com.tzld.piaoquan.wecom.model.po.HistoryMessage"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     insert into we_com_history_message (id, corp_id, user_id,  
														 | 
														
														 | 
														
															     insert into we_com_history_message (id, corp_id, user_id,  
														 | 
													
												
											
												
													
														| 
														 | 
														
															       staff_id, video_id, attachment_idx,  
														 | 
														
														 | 
														
															       staff_id, video_id, attachment_idx,  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      message_id, `status`, send_time,  
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      is_delete, create_time) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      `status`, send_time, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      `source`, create_time) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     values (#{id,jdbcType=BIGINT}, #{corpId,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT},  
														 | 
														
														 | 
														
															     values (#{id,jdbcType=BIGINT}, #{corpId,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT},  
														 | 
													
												
											
												
													
														| 
														 | 
														
															       #{staffId,jdbcType=BIGINT}, #{videoId,jdbcType=BIGINT}, #{attachmentIdx,jdbcType=INTEGER},  
														 | 
														
														 | 
														
															       #{staffId,jdbcType=BIGINT}, #{videoId,jdbcType=BIGINT}, #{attachmentIdx,jdbcType=INTEGER},  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      #{messageId,jdbcType=BIGINT}, #{status,jdbcType=INTEGER}, #{sendTime,jdbcType=TIMESTAMP},  
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      #{isDelete,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      #{status,jdbcType=INTEGER}, #{sendTime,jdbcType=TIMESTAMP}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      #{source,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   </insert> 
														 | 
														
														 | 
														
															   </insert> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   <insert id="insertSelective" parameterType="com.tzld.piaoquan.wecom.model.po.HistoryMessage"> 
														 | 
														
														 | 
														
															   <insert id="insertSelective" parameterType="com.tzld.piaoquan.wecom.model.po.HistoryMessage"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     insert into we_com_history_message 
														 | 
														
														 | 
														
															     insert into we_com_history_message 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -140,9 +140,6 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <if test="attachmentIdx != null"> 
														 | 
														
														 | 
														
															       <if test="attachmentIdx != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         attachment_idx, 
														 | 
														
														 | 
														
															         attachment_idx, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </if> 
														 | 
														
														 | 
														
															       </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      <if test="messageId != null"> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        message_id, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      </if> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <if test="status != null"> 
														 | 
														
														 | 
														
															       <if test="status != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         `status`, 
														 | 
														
														 | 
														
															         `status`, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </if> 
														 | 
														
														 | 
														
															       </if> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -152,6 +149,9 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <if test="isDelete != null"> 
														 | 
														
														 | 
														
															       <if test="isDelete != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         is_delete, 
														 | 
														
														 | 
														
															         is_delete, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </if> 
														 | 
														
														 | 
														
															       </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      <if test="source != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        `source`, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <if test="createTime != null"> 
														 | 
														
														 | 
														
															       <if test="createTime != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         create_time, 
														 | 
														
														 | 
														
															         create_time, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </if> 
														 | 
														
														 | 
														
															       </if> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -175,9 +175,6 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <if test="attachmentIdx != null"> 
														 | 
														
														 | 
														
															       <if test="attachmentIdx != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         #{attachmentIdx,jdbcType=INTEGER}, 
														 | 
														
														 | 
														
															         #{attachmentIdx,jdbcType=INTEGER}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </if> 
														 | 
														
														 | 
														
															       </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      <if test="messageId != null"> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        #{messageId,jdbcType=BIGINT}, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      </if> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <if test="status != null"> 
														 | 
														
														 | 
														
															       <if test="status != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         #{status,jdbcType=INTEGER}, 
														 | 
														
														 | 
														
															         #{status,jdbcType=INTEGER}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </if> 
														 | 
														
														 | 
														
															       </if> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -187,6 +184,9 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <if test="isDelete != null"> 
														 | 
														
														 | 
														
															       <if test="isDelete != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         #{isDelete,jdbcType=INTEGER}, 
														 | 
														
														 | 
														
															         #{isDelete,jdbcType=INTEGER}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </if> 
														 | 
														
														 | 
														
															       </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      <if test="source != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        #{source,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <if test="createTime != null"> 
														 | 
														
														 | 
														
															       <if test="createTime != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         #{createTime,jdbcType=TIMESTAMP}, 
														 | 
														
														 | 
														
															         #{createTime,jdbcType=TIMESTAMP}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </if> 
														 | 
														
														 | 
														
															       </if> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -219,9 +219,6 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <if test="record.attachmentIdx != null"> 
														 | 
														
														 | 
														
															       <if test="record.attachmentIdx != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         attachment_idx = #{record.attachmentIdx,jdbcType=INTEGER}, 
														 | 
														
														 | 
														
															         attachment_idx = #{record.attachmentIdx,jdbcType=INTEGER}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </if> 
														 | 
														
														 | 
														
															       </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      <if test="record.messageId != null"> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        message_id = #{record.messageId,jdbcType=BIGINT}, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      </if> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <if test="record.status != null"> 
														 | 
														
														 | 
														
															       <if test="record.status != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         `status` = #{record.status,jdbcType=INTEGER}, 
														 | 
														
														 | 
														
															         `status` = #{record.status,jdbcType=INTEGER}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </if> 
														 | 
														
														 | 
														
															       </if> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -231,6 +228,9 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <if test="record.isDelete != null"> 
														 | 
														
														 | 
														
															       <if test="record.isDelete != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         is_delete = #{record.isDelete,jdbcType=INTEGER}, 
														 | 
														
														 | 
														
															         is_delete = #{record.isDelete,jdbcType=INTEGER}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </if> 
														 | 
														
														 | 
														
															       </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      <if test="record.source != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        `source` = #{record.source,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <if test="record.createTime != null"> 
														 | 
														
														 | 
														
															       <if test="record.createTime != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         create_time = #{record.createTime,jdbcType=TIMESTAMP}, 
														 | 
														
														 | 
														
															         create_time = #{record.createTime,jdbcType=TIMESTAMP}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </if> 
														 | 
														
														 | 
														
															       </if> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -247,10 +247,10 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       staff_id = #{record.staffId,jdbcType=BIGINT}, 
														 | 
														
														 | 
														
															       staff_id = #{record.staffId,jdbcType=BIGINT}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       video_id = #{record.videoId,jdbcType=BIGINT}, 
														 | 
														
														 | 
														
															       video_id = #{record.videoId,jdbcType=BIGINT}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       attachment_idx = #{record.attachmentIdx,jdbcType=INTEGER}, 
														 | 
														
														 | 
														
															       attachment_idx = #{record.attachmentIdx,jdbcType=INTEGER}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      message_id = #{record.messageId,jdbcType=BIGINT}, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       `status` = #{record.status,jdbcType=INTEGER}, 
														 | 
														
														 | 
														
															       `status` = #{record.status,jdbcType=INTEGER}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       send_time = #{record.sendTime,jdbcType=TIMESTAMP}, 
														 | 
														
														 | 
														
															       send_time = #{record.sendTime,jdbcType=TIMESTAMP}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       is_delete = #{record.isDelete,jdbcType=INTEGER}, 
														 | 
														
														 | 
														
															       is_delete = #{record.isDelete,jdbcType=INTEGER}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      `source` = #{record.source,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       create_time = #{record.createTime,jdbcType=TIMESTAMP} 
														 | 
														
														 | 
														
															       create_time = #{record.createTime,jdbcType=TIMESTAMP} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <if test="_parameter != null"> 
														 | 
														
														 | 
														
															     <if test="_parameter != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <include refid="Update_By_Example_Where_Clause" /> 
														 | 
														
														 | 
														
															       <include refid="Update_By_Example_Where_Clause" /> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -274,9 +274,6 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <if test="attachmentIdx != null"> 
														 | 
														
														 | 
														
															       <if test="attachmentIdx != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         attachment_idx = #{attachmentIdx,jdbcType=INTEGER}, 
														 | 
														
														 | 
														
															         attachment_idx = #{attachmentIdx,jdbcType=INTEGER}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </if> 
														 | 
														
														 | 
														
															       </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      <if test="messageId != null"> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        message_id = #{messageId,jdbcType=BIGINT}, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      </if> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <if test="status != null"> 
														 | 
														
														 | 
														
															       <if test="status != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         `status` = #{status,jdbcType=INTEGER}, 
														 | 
														
														 | 
														
															         `status` = #{status,jdbcType=INTEGER}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </if> 
														 | 
														
														 | 
														
															       </if> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -286,6 +283,9 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <if test="isDelete != null"> 
														 | 
														
														 | 
														
															       <if test="isDelete != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         is_delete = #{isDelete,jdbcType=INTEGER}, 
														 | 
														
														 | 
														
															         is_delete = #{isDelete,jdbcType=INTEGER}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </if> 
														 | 
														
														 | 
														
															       </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      <if test="source != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        `source` = #{source,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <if test="createTime != null"> 
														 | 
														
														 | 
														
															       <if test="createTime != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         create_time = #{createTime,jdbcType=TIMESTAMP}, 
														 | 
														
														 | 
														
															         create_time = #{createTime,jdbcType=TIMESTAMP}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </if> 
														 | 
														
														 | 
														
															       </if> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -299,13 +299,14 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       staff_id = #{staffId,jdbcType=BIGINT}, 
														 | 
														
														 | 
														
															       staff_id = #{staffId,jdbcType=BIGINT}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       video_id = #{videoId,jdbcType=BIGINT}, 
														 | 
														
														 | 
														
															       video_id = #{videoId,jdbcType=BIGINT}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       attachment_idx = #{attachmentIdx,jdbcType=INTEGER}, 
														 | 
														
														 | 
														
															       attachment_idx = #{attachmentIdx,jdbcType=INTEGER}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      message_id = #{messageId,jdbcType=BIGINT}, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       `status` = #{status,jdbcType=INTEGER}, 
														 | 
														
														 | 
														
															       `status` = #{status,jdbcType=INTEGER}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       send_time = #{sendTime,jdbcType=TIMESTAMP}, 
														 | 
														
														 | 
														
															       send_time = #{sendTime,jdbcType=TIMESTAMP}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       is_delete = #{isDelete,jdbcType=INTEGER}, 
														 | 
														
														 | 
														
															       is_delete = #{isDelete,jdbcType=INTEGER}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      `source` = #{source,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       create_time = #{createTime,jdbcType=TIMESTAMP} 
														 | 
														
														 | 
														
															       create_time = #{createTime,jdbcType=TIMESTAMP} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     where id = #{id,jdbcType=BIGINT} 
														 | 
														
														 | 
														
															     where id = #{id,jdbcType=BIGINT} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   </update> 
														 | 
														
														 | 
														
															   </update> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   <insert id="insertList" parameterType="java.util.List"> 
														 | 
														
														 | 
														
															   <insert id="insertList" parameterType="java.util.List"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     insert into we_com_history_message 
														 | 
														
														 | 
														
															     insert into we_com_history_message 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     ( 
														 | 
														
														 | 
														
															     ( 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -314,9 +315,9 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     staff_id, 
														 | 
														
														 | 
														
															     staff_id, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     video_id, 
														 | 
														
														 | 
														
															     video_id, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     attachment_idx, 
														 | 
														
														 | 
														
															     attachment_idx, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    message_id, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     `status`, 
														 | 
														
														 | 
														
															     `status`, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     send_time, 
														 | 
														
														 | 
														
															     send_time, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    `source`, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     create_time 
														 | 
														
														 | 
														
															     create_time 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     ) 
														 | 
														
														 | 
														
															     ) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     values 
														 | 
														
														 | 
														
															     values 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -327,9 +328,9 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       #{item.staffId,jdbcType=BIGINT}, 
														 | 
														
														 | 
														
															       #{item.staffId,jdbcType=BIGINT}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       #{item.videoId,jdbcType=BIGINT}, 
														 | 
														
														 | 
														
															       #{item.videoId,jdbcType=BIGINT}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       #{item.attachmentIdx,jdbcType=INTEGER}, 
														 | 
														
														 | 
														
															       #{item.attachmentIdx,jdbcType=INTEGER}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      #{item.messageId,jdbcType=BIGINT}, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       #{item.status,jdbcType=INTEGER}, 
														 | 
														
														 | 
														
															       #{item.status,jdbcType=INTEGER}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       #{item.sendTime,jdbcType=TIMESTAMP}, 
														 | 
														
														 | 
														
															       #{item.sendTime,jdbcType=TIMESTAMP}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      #{item.source,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       #{item.createTime,jdbcType=TIMESTAMP} 
														 | 
														
														 | 
														
															       #{item.createTime,jdbcType=TIMESTAMP} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       ) 
														 | 
														
														 | 
														
															       ) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </foreach> 
														 | 
														
														 | 
														
															     </foreach> 
														 |