|
@@ -19,6 +19,7 @@
|
|
|
<result column="VGL_JACKPOT_AMT" jdbcType="VARCHAR" property="jackpotAmt" />
|
|
<result column="VGL_JACKPOT_AMT" jdbcType="VARCHAR" property="jackpotAmt" />
|
|
|
<result column="VGL_EXTRACT_RATIO" jdbcType="VARCHAR" property="extractRatio" />
|
|
<result column="VGL_EXTRACT_RATIO" jdbcType="VARCHAR" property="extractRatio" />
|
|
|
<result column="VGL_TYPE" jdbcType="VARCHAR" property="type" />
|
|
<result column="VGL_TYPE" jdbcType="VARCHAR" property="type" />
|
|
|
|
|
+ <result column="VGL_MECHANISM" jdbcType="VARCHAR" property="mechanism" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
<sql id="Example_Where_Clause">
|
|
|
<!--
|
|
<!--
|
|
@@ -93,7 +94,7 @@
|
|
|
-->
|
|
-->
|
|
|
VGL_ID, VGL_NAME, VGL_DESC, VGL_STATE, VGL_ALIPAYID, VGL_CREATE_TIME, VGL_CREATE_USER,
|
|
VGL_ID, VGL_NAME, VGL_DESC, VGL_STATE, VGL_ALIPAYID, VGL_CREATE_TIME, VGL_CREATE_USER,
|
|
|
VGL_REWARD_GRADE, VGL_REWARD_AMT_RATIO, VGL_REWARD_TYPE, VGL_JACKPOT_AMT, VGL_EXTRACT_RATIO,
|
|
VGL_REWARD_GRADE, VGL_REWARD_AMT_RATIO, VGL_REWARD_TYPE, VGL_JACKPOT_AMT, VGL_EXTRACT_RATIO,
|
|
|
- VGL_TYPE
|
|
|
|
|
|
|
+ VGL_TYPE, VGL_MECHANISM
|
|
|
</sql>
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.minpay.db.table.model.VmGameRuleExample" resultMap="BaseResultMap">
|
|
<select id="selectByExample" parameterType="com.minpay.db.table.model.VmGameRuleExample" resultMap="BaseResultMap">
|
|
|
<!--
|
|
<!--
|
|
@@ -150,12 +151,12 @@
|
|
|
VGL_STATE, VGL_ALIPAYID, VGL_CREATE_TIME,
|
|
VGL_STATE, VGL_ALIPAYID, VGL_CREATE_TIME,
|
|
|
VGL_CREATE_USER, VGL_REWARD_GRADE, VGL_REWARD_AMT_RATIO,
|
|
VGL_CREATE_USER, VGL_REWARD_GRADE, VGL_REWARD_AMT_RATIO,
|
|
|
VGL_REWARD_TYPE, VGL_JACKPOT_AMT, VGL_EXTRACT_RATIO,
|
|
VGL_REWARD_TYPE, VGL_JACKPOT_AMT, VGL_EXTRACT_RATIO,
|
|
|
- VGL_TYPE)
|
|
|
|
|
|
|
+ VGL_TYPE, VGL_MECHANISM)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{desc,jdbcType=VARCHAR},
|
|
values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{desc,jdbcType=VARCHAR},
|
|
|
#{state,jdbcType=VARCHAR}, #{alipayid,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR},
|
|
#{state,jdbcType=VARCHAR}, #{alipayid,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR},
|
|
|
#{createUser,jdbcType=VARCHAR}, #{rewardGrade,jdbcType=VARCHAR}, #{rewardAmtRatio,jdbcType=VARCHAR},
|
|
#{createUser,jdbcType=VARCHAR}, #{rewardGrade,jdbcType=VARCHAR}, #{rewardAmtRatio,jdbcType=VARCHAR},
|
|
|
#{rewardType,jdbcType=VARCHAR}, #{jackpotAmt,jdbcType=VARCHAR}, #{extractRatio,jdbcType=VARCHAR},
|
|
#{rewardType,jdbcType=VARCHAR}, #{jackpotAmt,jdbcType=VARCHAR}, #{extractRatio,jdbcType=VARCHAR},
|
|
|
- #{type,jdbcType=VARCHAR})
|
|
|
|
|
|
|
+ #{type,jdbcType=VARCHAR}, #{mechanism,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.minpay.db.table.model.VmGameRule">
|
|
<insert id="insertSelective" parameterType="com.minpay.db.table.model.VmGameRule">
|
|
|
<!--
|
|
<!--
|
|
@@ -203,6 +204,9 @@
|
|
|
<if test="type != null">
|
|
<if test="type != null">
|
|
|
VGL_TYPE,
|
|
VGL_TYPE,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="mechanism != null">
|
|
|
|
|
+ VGL_MECHANISM,
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
<if test="id != null">
|
|
@@ -244,6 +248,9 @@
|
|
|
<if test="type != null">
|
|
<if test="type != null">
|
|
|
#{type,jdbcType=VARCHAR},
|
|
#{type,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="mechanism != null">
|
|
|
|
|
+ #{mechanism,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
<select id="countByExample" parameterType="com.minpay.db.table.model.VmGameRuleExample" resultType="java.lang.Integer">
|
|
<select id="countByExample" parameterType="com.minpay.db.table.model.VmGameRuleExample" resultType="java.lang.Integer">
|
|
@@ -302,6 +309,9 @@
|
|
|
<if test="record.type != null">
|
|
<if test="record.type != null">
|
|
|
VGL_TYPE = #{record.type,jdbcType=VARCHAR},
|
|
VGL_TYPE = #{record.type,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="record.mechanism != null">
|
|
|
|
|
+ VGL_MECHANISM = #{record.mechanism,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
</set>
|
|
</set>
|
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -325,7 +335,8 @@
|
|
|
VGL_REWARD_TYPE = #{record.rewardType,jdbcType=VARCHAR},
|
|
VGL_REWARD_TYPE = #{record.rewardType,jdbcType=VARCHAR},
|
|
|
VGL_JACKPOT_AMT = #{record.jackpotAmt,jdbcType=VARCHAR},
|
|
VGL_JACKPOT_AMT = #{record.jackpotAmt,jdbcType=VARCHAR},
|
|
|
VGL_EXTRACT_RATIO = #{record.extractRatio,jdbcType=VARCHAR},
|
|
VGL_EXTRACT_RATIO = #{record.extractRatio,jdbcType=VARCHAR},
|
|
|
- VGL_TYPE = #{record.type,jdbcType=VARCHAR}
|
|
|
|
|
|
|
+ VGL_TYPE = #{record.type,jdbcType=VARCHAR},
|
|
|
|
|
+ VGL_MECHANISM = #{record.mechanism,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
</if>
|
|
@@ -373,6 +384,9 @@
|
|
|
<if test="type != null">
|
|
<if test="type != null">
|
|
|
VGL_TYPE = #{type,jdbcType=VARCHAR},
|
|
VGL_TYPE = #{type,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="mechanism != null">
|
|
|
|
|
+ VGL_MECHANISM = #{mechanism,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
</set>
|
|
</set>
|
|
|
where VGL_ID = #{id,jdbcType=VARCHAR}
|
|
where VGL_ID = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
</update>
|
|
@@ -393,7 +407,8 @@
|
|
|
VGL_REWARD_TYPE = #{rewardType,jdbcType=VARCHAR},
|
|
VGL_REWARD_TYPE = #{rewardType,jdbcType=VARCHAR},
|
|
|
VGL_JACKPOT_AMT = #{jackpotAmt,jdbcType=VARCHAR},
|
|
VGL_JACKPOT_AMT = #{jackpotAmt,jdbcType=VARCHAR},
|
|
|
VGL_EXTRACT_RATIO = #{extractRatio,jdbcType=VARCHAR},
|
|
VGL_EXTRACT_RATIO = #{extractRatio,jdbcType=VARCHAR},
|
|
|
- VGL_TYPE = #{type,jdbcType=VARCHAR}
|
|
|
|
|
|
|
+ VGL_TYPE = #{type,jdbcType=VARCHAR},
|
|
|
|
|
+ VGL_MECHANISM = #{mechanism,jdbcType=VARCHAR}
|
|
|
where VGL_ID = #{id,jdbcType=VARCHAR}
|
|
where VGL_ID = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
</update>
|
|
|
</mapper>
|
|
</mapper>
|