|
@@ -16,10 +16,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="logId" column="log_id" />
|
|
<result property="logId" column="log_id" />
|
|
|
<result property="sendType" column="send_type" />
|
|
<result property="sendType" column="send_type" />
|
|
|
<result property="liveId" column="live_id" />
|
|
<result property="liveId" column="live_id" />
|
|
|
|
|
+ <result property="verifyUserId" column="verify_user_id" />
|
|
|
|
|
+ <result property="verifyTime" column="verify_time" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
|
|
<sql id="selectFsCourseCouponUserVo">
|
|
<sql id="selectFsCourseCouponUserVo">
|
|
|
- select id, coupon_id, user_id, limit_time, start_time, create_time, update_time, status, log_id,send_type,live_id from fs_course_coupon_user
|
|
|
|
|
|
|
+ select id, coupon_id, user_id, limit_time, start_time, create_time, update_time, status, log_id,send_type,live_id,
|
|
|
|
|
+ verify_user_id,verify_time from fs_course_coupon_user
|
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
|
|
<select id="selectFsCourseCouponUserList" parameterType="FsCourseCouponUser" resultMap="FsCourseCouponUserResult">
|
|
<select id="selectFsCourseCouponUserList" parameterType="FsCourseCouponUser" resultMap="FsCourseCouponUserResult">
|
|
@@ -33,6 +36,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="logId != null "> and log_id = #{logId}</if>
|
|
<if test="logId != null "> and log_id = #{logId}</if>
|
|
|
<if test="sendType != null "> and send_type = #{sendType}</if>
|
|
<if test="sendType != null "> and send_type = #{sendType}</if>
|
|
|
<if test="liveId != null "> and live_id = #{liveId}</if>
|
|
<if test="liveId != null "> and live_id = #{liveId}</if>
|
|
|
|
|
+ <if test="verifyUserId != null "> and verify_user_id = #{verifyUserId}</if>
|
|
|
|
|
+ <if test="verifyTime != null "> and verify_time = #{verifyTime}</if>
|
|
|
</where>
|
|
</where>
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
@@ -55,6 +60,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="logId != null">log_id,</if>
|
|
<if test="logId != null">log_id,</if>
|
|
|
<if test="sendType != null">send_type,</if>
|
|
<if test="sendType != null">send_type,</if>
|
|
|
<if test="liveId != null">live_id,</if>
|
|
<if test="liveId != null">live_id,</if>
|
|
|
|
|
+ <if test="verifyUserId != null">verify_user_id,</if>
|
|
|
|
|
+ <if test="verifyTime != null">verify_time,</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="couponId != null">#{couponId},</if>
|
|
<if test="couponId != null">#{couponId},</if>
|
|
@@ -67,6 +74,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="logId != null">#{logId},</if>
|
|
<if test="logId != null">#{logId},</if>
|
|
|
<if test="sendType != null">#{sendType},</if>
|
|
<if test="sendType != null">#{sendType},</if>
|
|
|
<if test="liveId != null">#{liveId},</if>
|
|
<if test="liveId != null">#{liveId},</if>
|
|
|
|
|
+ <if test="verifyUserId != null">#{verifyUserId},</if>
|
|
|
|
|
+ <if test="verifyTime != null">#{verifyTime},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
|
@@ -83,6 +92,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="logId != null">log_id = #{logId},</if>
|
|
<if test="logId != null">log_id = #{logId},</if>
|
|
|
<if test="sendType != null">send_type = #{sendType},</if>
|
|
<if test="sendType != null">send_type = #{sendType},</if>
|
|
|
<if test="liveId != null">live_id = #{liveId},</if>
|
|
<if test="liveId != null">live_id = #{liveId},</if>
|
|
|
|
|
+ <if test="verifyUserId != null">verify_user_id = #{verifyUserId},</if>
|
|
|
|
|
+ <if test="verifyTime != null">verify_time = #{verifyTime},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
where id = #{id}
|
|
where id = #{id}
|
|
|
</update>
|
|
</update>
|