|
@@ -10,13 +10,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="itemName" column="item_name" />
|
|
<result property="itemName" column="item_name" />
|
|
<result property="itemMultiple" column="item_multiple" />
|
|
<result property="itemMultiple" column="item_multiple" />
|
|
<result property="itemLocation" column="item_location" />
|
|
<result property="itemLocation" column="item_location" />
|
|
|
|
+ <result property="bettingCount" column="betting_count" />
|
|
<result property="bettingMoney" column="betting_money" />
|
|
<result property="bettingMoney" column="betting_money" />
|
|
<result property="lotteryCount" column="lottery_count" />
|
|
<result property="lotteryCount" column="lottery_count" />
|
|
<result property="consecutive" column="consecutive" />
|
|
<result property="consecutive" column="consecutive" />
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectAppGameItemVo">
|
|
<sql id="selectAppGameItemVo">
|
|
- select id, game_id, item_name, item_multiple, item_location, betting_money, lottery_count, consecutive from app_game_item
|
|
|
|
|
|
+ select id, game_id, item_name, item_multiple, item_location, betting_count, betting_money, lottery_count, consecutive from app_game_item
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
<select id="selectAppGameItemList" parameterType="com.game.business.domain.AppGameItem" resultMap="AppGameItemResult">
|
|
<select id="selectAppGameItemList" parameterType="com.game.business.domain.AppGameItem" resultMap="AppGameItemResult">
|
|
@@ -26,6 +27,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="itemName != null and itemName != ''"> and item_name like concat('%', #{itemName}, '%')</if>
|
|
<if test="itemName != null and itemName != ''"> and item_name like concat('%', #{itemName}, '%')</if>
|
|
<if test="itemMultiple != null "> and item_multiple = #{itemMultiple}</if>
|
|
<if test="itemMultiple != null "> and item_multiple = #{itemMultiple}</if>
|
|
<if test="itemLocation != null and itemLocation != ''"> and item_location = #{itemLocation}</if>
|
|
<if test="itemLocation != null and itemLocation != ''"> and item_location = #{itemLocation}</if>
|
|
|
|
+ <if test="bettingCount != null "> and betting_count = #{bettingCount}</if>
|
|
<if test="bettingMoney != null "> and betting_money = #{bettingMoney}</if>
|
|
<if test="bettingMoney != null "> and betting_money = #{bettingMoney}</if>
|
|
<if test="lotteryCount != null "> and lottery_count = #{lotteryCount}</if>
|
|
<if test="lotteryCount != null "> and lottery_count = #{lotteryCount}</if>
|
|
<if test="consecutive != null "> and consecutive = #{consecutive}</if>
|
|
<if test="consecutive != null "> and consecutive = #{consecutive}</if>
|
|
@@ -46,6 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="itemMultiple != null">item_multiple,</if>
|
|
<if test="itemMultiple != null">item_multiple,</if>
|
|
<if test="itemLocation != null">item_location,</if>
|
|
<if test="itemLocation != null">item_location,</if>
|
|
<if test="bettingMoney != null">betting_money,</if>
|
|
<if test="bettingMoney != null">betting_money,</if>
|
|
|
|
+ <if test="bettingCount != null">betting_count,</if>
|
|
<if test="lotteryCount != null">lottery_count,</if>
|
|
<if test="lotteryCount != null">lottery_count,</if>
|
|
<if test="consecutive != null">consecutive,</if>
|
|
<if test="consecutive != null">consecutive,</if>
|
|
</trim>
|
|
</trim>
|
|
@@ -54,6 +57,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="itemName != null">#{itemName},</if>
|
|
<if test="itemName != null">#{itemName},</if>
|
|
<if test="itemMultiple != null">#{itemMultiple},</if>
|
|
<if test="itemMultiple != null">#{itemMultiple},</if>
|
|
<if test="itemLocation != null">#{itemLocation},</if>
|
|
<if test="itemLocation != null">#{itemLocation},</if>
|
|
|
|
+ <if test="bettingCount != null">#{bettingCount},</if>
|
|
<if test="bettingMoney != null">#{bettingMoney},</if>
|
|
<if test="bettingMoney != null">#{bettingMoney},</if>
|
|
<if test="lotteryCount != null">#{lotteryCount},</if>
|
|
<if test="lotteryCount != null">#{lotteryCount},</if>
|
|
<if test="consecutive != null">#{consecutive},</if>
|
|
<if test="consecutive != null">#{consecutive},</if>
|
|
@@ -67,6 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="itemName != null">item_name = #{itemName},</if>
|
|
<if test="itemName != null">item_name = #{itemName},</if>
|
|
<if test="itemMultiple != null">item_multiple = #{itemMultiple},</if>
|
|
<if test="itemMultiple != null">item_multiple = #{itemMultiple},</if>
|
|
<if test="itemLocation != null">item_location = #{itemLocation},</if>
|
|
<if test="itemLocation != null">item_location = #{itemLocation},</if>
|
|
|
|
+ <if test="bettingCount != null">betting_count = #{bettingCount},</if>
|
|
<if test="bettingMoney != null">betting_money = #{bettingMoney},</if>
|
|
<if test="bettingMoney != null">betting_money = #{bettingMoney},</if>
|
|
<if test="lotteryCount != null">lottery_count = #{lotteryCount},</if>
|
|
<if test="lotteryCount != null">lottery_count = #{lotteryCount},</if>
|
|
<if test="consecutive != null">consecutive = #{consecutive},</if>
|
|
<if test="consecutive != null">consecutive = #{consecutive},</if>
|