|
@@ -39,10 +39,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="tranType2" column="tran_type2" />
|
|
<result property="tranType2" column="tran_type2" />
|
|
<result property="tranType3" column="tran_type3" />
|
|
<result property="tranType3" column="tran_type3" />
|
|
<result property="uid" column="uid" />
|
|
<result property="uid" column="uid" />
|
|
|
|
+ <result property="withdrawFlag" column="withdraw_flag" />
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectFinTranRecordVo">
|
|
<sql id="selectFinTranRecordVo">
|
|
- select id, after_coin, after_money, after_ticket, after_diamond_coin, agent_id, coin_change, diamond_coin_change, commission_related_uid, consumption_coin, consumption_money, create_time, currency_type, from_uid, goods_id, guild_id, manager_co_id, manager_id, money_change, order_id, perc, pro_count, pro_id, remarks, scene_id1, scene_id2, scene_type, ticket_change, to_uid, tran_group_id, tran_type1, tran_type2, tran_type3, uid from fin_tran_record
|
|
|
|
|
|
+ select id, after_coin, after_money, after_ticket, after_diamond_coin, agent_id, coin_change, diamond_coin_change, commission_related_uid, consumption_coin, consumption_money, create_time, currency_type, from_uid, goods_id, guild_id, manager_co_id, manager_id, money_change, order_id, perc, pro_count, pro_id, remarks, scene_id1, scene_id2, scene_type, ticket_change, to_uid, tran_group_id, tran_type1, tran_type2, tran_type3, uid,withdraw_flag from fin_tran_record
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
<select id="selectFinTranRecordList" parameterType="com.game.business.domain.FinTranRecord" resultMap="FinTranRecordResult">
|
|
<select id="selectFinTranRecordList" parameterType="com.game.business.domain.FinTranRecord" resultMap="FinTranRecordResult">
|
|
@@ -80,6 +81,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="tranType2 != null "> and tran_type2 = #{tranType2}</if>
|
|
<if test="tranType2 != null "> and tran_type2 = #{tranType2}</if>
|
|
<if test="tranType3 != null "> and tran_type3 = #{tranType3}</if>
|
|
<if test="tranType3 != null "> and tran_type3 = #{tranType3}</if>
|
|
<if test="uid != null "> and uid = #{uid}</if>
|
|
<if test="uid != null "> and uid = #{uid}</if>
|
|
|
|
+ <if test="withdrawFlag != null "> and withdraw_flag = #{withdrawFlag}</if>
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|
|
|
|
|
|
@@ -125,6 +127,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="tranType2 != null">tran_type2,</if>
|
|
<if test="tranType2 != null">tran_type2,</if>
|
|
<if test="tranType3 != null">tran_type3,</if>
|
|
<if test="tranType3 != null">tran_type3,</if>
|
|
<if test="uid != null">uid,</if>
|
|
<if test="uid != null">uid,</if>
|
|
|
|
+ <if test="withdrawFlag != null">withdraw_flag,</if>
|
|
</trim>
|
|
</trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<if test="id != null">#{id},</if>
|
|
<if test="id != null">#{id},</if>
|
|
@@ -161,6 +164,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="tranType2 != null">#{tranType2},</if>
|
|
<if test="tranType2 != null">#{tranType2},</if>
|
|
<if test="tranType3 != null">#{tranType3},</if>
|
|
<if test="tranType3 != null">#{tranType3},</if>
|
|
<if test="uid != null">#{uid},</if>
|
|
<if test="uid != null">#{uid},</if>
|
|
|
|
+ <if test="withdrawFlag != null">#{withdrawFlag},</if>
|
|
</trim>
|
|
</trim>
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
@@ -200,6 +204,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="tranType2 != null">tran_type2 = #{tranType2},</if>
|
|
<if test="tranType2 != null">tran_type2 = #{tranType2},</if>
|
|
<if test="tranType3 != null">tran_type3 = #{tranType3},</if>
|
|
<if test="tranType3 != null">tran_type3 = #{tranType3},</if>
|
|
<if test="uid != null">uid = #{uid},</if>
|
|
<if test="uid != null">uid = #{uid},</if>
|
|
|
|
+ <if test="withdrawFlag != null">withdraw_flag = #{withdrawFlag},</if>
|
|
</trim>
|
|
</trim>
|
|
where id = #{id}
|
|
where id = #{id}
|
|
</update>
|
|
</update>
|