|
|
@@ -22,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
select id, lottery_id, live_id, user_id, product_id, create_time, update_time, create_by, update_by,order_id,order_status from live_user_lottery_record
|
|
|
</sql>
|
|
|
|
|
|
- <select id="selectLiveUserLotteryRecordList" parameterType="LiveUserLotteryRecord" resultMap="LiveUserLotteryRecordResult">
|
|
|
+ <select id="selectLiveUserLotteryRecordList" parameterType="com.fs.live.domain.LiveUserLotteryRecord" resultMap="LiveUserLotteryRecordResult">
|
|
|
<include refid="selectLiveUserLotteryRecordVo"/>
|
|
|
<where>
|
|
|
<if test="liveId != null "> and live_id = #{liveId}</if>
|
|
|
@@ -45,7 +45,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
where lulr.lottery_id = #{lotteryId} and lulr.live_id = #{liveId}
|
|
|
</select>
|
|
|
|
|
|
- <insert id="insertLiveUserLotteryRecord" parameterType="LiveUserLotteryRecord" useGeneratedKeys="true" keyProperty="id">
|
|
|
+ <insert id="insertLiveUserLotteryRecord" parameterType="com.fs.live.domain.LiveUserLotteryRecord" useGeneratedKeys="true" keyProperty="id">
|
|
|
insert into live_user_lottery_record
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
<if test="lotteryId != null">lottery_id,</if>
|
|
|
@@ -73,7 +73,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
- <update id="updateLiveUserLotteryRecord" parameterType="LiveUserLotteryRecord">
|
|
|
+ <update id="updateLiveUserLotteryRecord" parameterType="com.fs.live.domain.LiveUserLotteryRecord">
|
|
|
update live_user_lottery_record
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
<if test="lotteryId != null">lottery_id = #{lotteryId},</if>
|