|
@@ -7,7 +7,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<resultMap type="LiveLotteryRecord" id="LiveLotteryRecordResult">
|
|
|
<result property="lotteryId" column="lottery_id" />
|
|
|
<result property="liveId" column="live_id" />
|
|
|
- <result property="lotteryStauts" column="lottery_stauts" />
|
|
|
+ <result property="lotterystatus" column="lottery_status" />
|
|
|
<result property="createTime" column="create_time" />
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
<result property="createBy" column="create_by" />
|
|
@@ -15,14 +15,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectLiveLotteryRecordVo">
|
|
|
- select lottery_id, live_id, lottery_stauts, create_time, update_time, create_by, update_by from live_lottery_record
|
|
|
+ select lottery_id, live_id, lottery_status, create_time, update_time, create_by, update_by from live_lottery_record
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectLiveLotteryRecordList" parameterType="LiveLotteryRecord" resultMap="LiveLotteryRecordResult">
|
|
|
<include refid="selectLiveLotteryRecordVo"/>
|
|
|
<where>
|
|
|
<if test="liveId != null "> and live_id = #{liveId}</if>
|
|
|
- <if test="lotteryStauts != null "> and lottery_stauts = #{lotteryStauts}</if>
|
|
|
+ <if test="lotterystatus != null "> and lottery_status = #{lotterystatus}</if>
|
|
|
<if test="updateTime != null "> and update_time = #{updateTime}</if>
|
|
|
</where>
|
|
|
</select>
|
|
@@ -36,7 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
insert into live_lottery_record
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
<if test="liveId != null">live_id,</if>
|
|
|
- <if test="lotteryStauts != null">lottery_stauts,</if>
|
|
|
+ <if test="lotterystatus != null">lottery_status,</if>
|
|
|
<if test="createTime != null">create_time,</if>
|
|
|
<if test="updateTime != null">update_time,</if>
|
|
|
<if test="createBy != null">create_by,</if>
|
|
@@ -44,7 +44,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="liveId != null">#{liveId},</if>
|
|
|
- <if test="lotteryStauts != null">#{lotteryStauts},</if>
|
|
|
+ <if test="lotterystatus != null">#{lotterystatus},</if>
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
@@ -56,7 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
update live_lottery_record
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
<if test="liveId != null">live_id = #{liveId},</if>
|
|
|
- <if test="lotteryStauts != null">lottery_stauts = #{lotteryStauts},</if>
|
|
|
+ <if test="lotterystatus != null">lottery_status = #{lotterystatus},</if>
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|