|
@@ -19,10 +19,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="updateTime" column="update_time" />
|
|
<result property="updateTime" column="update_time" />
|
|
<result property="watchLogId" column="watch_log_id" />
|
|
<result property="watchLogId" column="watch_log_id" />
|
|
<result property="remark" column="remark" />
|
|
<result property="remark" column="remark" />
|
|
|
|
+ <result property="result" column="result" />
|
|
|
|
+ <result property="periodId" column="period_id" />
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectFsCourseRedPacketLogVo">
|
|
<sql id="selectFsCourseRedPacketLogVo">
|
|
- select log_id,watch_log_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
|
|
|
|
|
|
+ select log_id,watch_log_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,period_id from fs_course_red_packet_log
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
<select id="selectFsCourseRedPacketLogList" parameterType="FsCourseRedPacketLog" resultMap="FsCourseRedPacketLogResult">
|
|
<select id="selectFsCourseRedPacketLogList" parameterType="FsCourseRedPacketLog" resultMap="FsCourseRedPacketLogResult">
|
|
@@ -101,6 +103,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="updateTime != null">update_time,</if>
|
|
<if test="updateTime != null">update_time,</if>
|
|
<if test="watchLogId != null">watch_log_id,</if>
|
|
<if test="watchLogId != null">watch_log_id,</if>
|
|
<if test="remark != null">remark,</if>
|
|
<if test="remark != null">remark,</if>
|
|
|
|
+ <if test="result != null">result,</if>
|
|
|
|
+ <if test="periodId != null">period_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>
|
|
@@ -116,7 +120,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
<if test="watchLogId != null">#{watchLogId},</if>
|
|
<if test="watchLogId != null">#{watchLogId},</if>
|
|
<if test="remark != null">#{remark},</if>
|
|
<if test="remark != null">#{remark},</if>
|
|
- </trim>
|
|
|
|
|
|
+ <if test="periodId != null">#{periodId},</if>
|
|
|
|
+ <if test="result != null">#{result},</if>
|
|
|
|
+ </trim>
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
<update id="updateFsCourseRedPacketLog" parameterType="FsCourseRedPacketLog">
|
|
<update id="updateFsCourseRedPacketLog" parameterType="FsCourseRedPacketLog">
|
|
@@ -134,6 +140,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="status != null">status = #{status},</if>
|
|
<if test="status != null">status = #{status},</if>
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
<if test="watchLogId != null">watch_log_id = #{watchLogId},</if>
|
|
<if test="watchLogId != null">watch_log_id = #{watchLogId},</if>
|
|
|
|
+ <if test="periodId != null">period_id = #{periodId},</if>
|
|
<if test="remark != null">remark = #{remark},</if>
|
|
<if test="remark != null">remark = #{remark},</if>
|
|
</trim>
|
|
</trim>
|
|
where log_id = #{logId}
|
|
where log_id = #{logId}
|