|  | @@ -21,10 +21,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 | 
											
												
													
														|  |          <result property="remark"    column="remark"    />
 |  |          <result property="remark"    column="remark"    />
 | 
											
												
													
														|  |          <result property="result"    column="result"    />
 |  |          <result property="result"    column="result"    />
 | 
											
												
													
														|  |          <result property="batchId"    column="batch_id"    />
 |  |          <result property="batchId"    column="batch_id"    />
 | 
											
												
													
														|  | 
 |  | +        <result property="appId"    column="app_id"    />
 | 
											
												
													
														|  |      </resultMap>
 |  |      </resultMap>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      <sql id="selectFsCourseRedPacketLogVo">
 |  |      <sql id="selectFsCourseRedPacketLogVo">
 | 
											
												
													
														|  | -        select log_id,watch_log_id,result, remark,out_batch_no,status,update_time,course_id, user_id, video_id, company_user_id, company_id, amount, create_time, qw_user_id from fs_course_red_packet_log
 |  | 
 | 
											
												
													
														|  | 
 |  | +        select log_id,watch_log_id,result,app_id, remark,out_batch_no,status,update_time,course_id, user_id, video_id, company_user_id, company_id, amount, create_time, qw_user_id from fs_course_red_packet_log
 | 
											
												
													
														|  |      </sql>
 |  |      </sql>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      <select id="selectFsCourseRedPacketLogList" parameterType="FsCourseRedPacketLog" resultMap="FsCourseRedPacketLogResult">
 |  |      <select id="selectFsCourseRedPacketLogList" parameterType="FsCourseRedPacketLog" resultMap="FsCourseRedPacketLogResult">
 | 
											
										
											
												
													
														|  | @@ -115,7 +116,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 | 
											
												
													
														|  |              <if test="periodId != null">period_id,</if>
 |  |              <if test="periodId != null">period_id,</if>
 | 
											
												
													
														|  |              <if test="result != null">result,</if>
 |  |              <if test="result != null">result,</if>
 | 
											
												
													
														|  |              <if test="batchId != null">batch_id,</if>
 |  |              <if test="batchId != null">batch_id,</if>
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | 
 |  | +            <if test="appId != null">app_id,</if>
 | 
											
												
													
														|  |           </trim>
 |  |           </trim>
 | 
											
												
													
														|  |          <trim prefix="values (" suffix=")" suffixOverrides=",">
 |  |          <trim prefix="values (" suffix=")" suffixOverrides=",">
 | 
											
												
													
														|  |              <if test="courseId != null">#{courseId},</if>
 |  |              <if test="courseId != null">#{courseId},</if>
 | 
											
										
											
												
													
														|  | @@ -134,6 +135,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 | 
											
												
													
														|  |              <if test="periodId != null">#{periodId},</if>
 |  |              <if test="periodId != null">#{periodId},</if>
 | 
											
												
													
														|  |              <if test="result != null">#{result},</if>
 |  |              <if test="result != null">#{result},</if>
 | 
											
												
													
														|  |              <if test="batchId != null">#{batchId},</if>
 |  |              <if test="batchId != null">#{batchId},</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="appId != null">#{appId},</if>
 | 
											
												
													
														|  |           </trim>
 |  |           </trim>
 | 
											
												
													
														|  |      </insert>
 |  |      </insert>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -156,6 +158,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 | 
											
												
													
														|  |              <if test="periodId != null">period_id = #{periodId},</if>
 |  |              <if test="periodId != null">period_id = #{periodId},</if>
 | 
											
												
													
														|  |              <if test="result != null">result = #{result},</if>
 |  |              <if test="result != null">result = #{result},</if>
 | 
											
												
													
														|  |              <if test="batchId != null">batch_id = #{batchId},</if>
 |  |              <if test="batchId != null">batch_id = #{batchId},</if>
 | 
											
												
													
														|  | 
 |  | +            <if test="appId != null">app_id = #{appId},</if>
 | 
											
												
													
														|  |          </trim>
 |  |          </trim>
 | 
											
												
													
														|  |          where log_id = #{logId}
 |  |          where log_id = #{logId}
 | 
											
												
													
														|  |      </update>
 |  |      </update>
 |