|
@@ -1,42 +1,48 @@
|
|
|
-<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
|
|
-<mapper namespace="com.minpay.db.table.mapper.VmGameRuleMapper" >
|
|
|
- <resultMap id="BaseResultMap" type="com.minpay.db.table.model.VmGameRule" >
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
+<mapper namespace="com.minpay.db.table.mapper.VmGameRuleMapper">
|
|
|
+ <resultMap id="BaseResultMap" type="com.minpay.db.table.model.VmGameRule">
|
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
- <id column="VGL_ID" property="id" jdbcType="VARCHAR" />
|
|
|
- <result column="VGL_NAME" property="name" jdbcType="VARCHAR" />
|
|
|
- <result column="VGL_DESC" property="desc" jdbcType="VARCHAR" />
|
|
|
- <result column="VGL_STATE" property="state" jdbcType="VARCHAR" />
|
|
|
- <result column="VGL_ALIPAYID" property="alipayid" jdbcType="VARCHAR" />
|
|
|
- <result column="VGL_CREATE_TIME" property="createTime" jdbcType="VARCHAR" />
|
|
|
- <result column="VGL_CREATE_USER" property="createUser" jdbcType="VARCHAR" />
|
|
|
+ <id column="VGL_ID" jdbcType="VARCHAR" property="id" />
|
|
|
+ <result column="VGL_NAME" jdbcType="VARCHAR" property="name" />
|
|
|
+ <result column="VGL_DESC" jdbcType="VARCHAR" property="desc" />
|
|
|
+ <result column="VGL_STATE" jdbcType="VARCHAR" property="state" />
|
|
|
+ <result column="VGL_ALIPAYID" jdbcType="VARCHAR" property="alipayid" />
|
|
|
+ <result column="VGL_CREATE_TIME" jdbcType="VARCHAR" property="createTime" />
|
|
|
+ <result column="VGL_CREATE_USER" jdbcType="VARCHAR" property="createUser" />
|
|
|
+ <result column="VGL_REWARD_GRADE" jdbcType="VARCHAR" property="rewardGrade" />
|
|
|
+ <result column="VGL_REWARD_AMT_RATIO" jdbcType="VARCHAR" property="rewardAmtRatio" />
|
|
|
+ <result column="VGL_REWARD_TYPE" jdbcType="VARCHAR" property="rewardType" />
|
|
|
+ <result column="VGL_JACKPOT_AMT" jdbcType="VARCHAR" property="jackpotAmt" />
|
|
|
+ <result column="VGL_EXTRACT_RATIO" jdbcType="VARCHAR" property="extractRatio" />
|
|
|
+ <result column="VGL_TYPE" jdbcType="VARCHAR" property="type" />
|
|
|
</resultMap>
|
|
|
- <sql id="Example_Where_Clause" >
|
|
|
+ <sql id="Example_Where_Clause">
|
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
- <where >
|
|
|
- <foreach collection="oredCriteria" item="criteria" separator="or" >
|
|
|
- <if test="criteria.valid" >
|
|
|
- <trim prefix="(" suffix=")" prefixOverrides="and" >
|
|
|
- <foreach collection="criteria.criteria" item="criterion" >
|
|
|
- <choose >
|
|
|
- <when test="criterion.noValue" >
|
|
|
+ <where>
|
|
|
+ <foreach collection="oredCriteria" item="criteria" separator="or">
|
|
|
+ <if test="criteria.valid">
|
|
|
+ <trim prefix="(" prefixOverrides="and" suffix=")">
|
|
|
+ <foreach collection="criteria.criteria" item="criterion">
|
|
|
+ <choose>
|
|
|
+ <when test="criterion.noValue">
|
|
|
and ${criterion.condition}
|
|
|
</when>
|
|
|
- <when test="criterion.singleValue" >
|
|
|
+ <when test="criterion.singleValue">
|
|
|
and ${criterion.condition} #{criterion.value}
|
|
|
</when>
|
|
|
- <when test="criterion.betweenValue" >
|
|
|
+ <when test="criterion.betweenValue">
|
|
|
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
|
</when>
|
|
|
- <when test="criterion.listValue" >
|
|
|
+ <when test="criterion.listValue">
|
|
|
and ${criterion.condition}
|
|
|
- <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
|
|
|
+ <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
|
|
#{listItem}
|
|
|
</foreach>
|
|
|
</when>
|
|
@@ -47,29 +53,29 @@
|
|
|
</foreach>
|
|
|
</where>
|
|
|
</sql>
|
|
|
- <sql id="Update_By_Example_Where_Clause" >
|
|
|
+ <sql id="Update_By_Example_Where_Clause">
|
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
- <where >
|
|
|
- <foreach collection="example.oredCriteria" item="criteria" separator="or" >
|
|
|
- <if test="criteria.valid" >
|
|
|
- <trim prefix="(" suffix=")" prefixOverrides="and" >
|
|
|
- <foreach collection="criteria.criteria" item="criterion" >
|
|
|
- <choose >
|
|
|
- <when test="criterion.noValue" >
|
|
|
+ <where>
|
|
|
+ <foreach collection="example.oredCriteria" item="criteria" separator="or">
|
|
|
+ <if test="criteria.valid">
|
|
|
+ <trim prefix="(" prefixOverrides="and" suffix=")">
|
|
|
+ <foreach collection="criteria.criteria" item="criterion">
|
|
|
+ <choose>
|
|
|
+ <when test="criterion.noValue">
|
|
|
and ${criterion.condition}
|
|
|
</when>
|
|
|
- <when test="criterion.singleValue" >
|
|
|
+ <when test="criterion.singleValue">
|
|
|
and ${criterion.condition} #{criterion.value}
|
|
|
</when>
|
|
|
- <when test="criterion.betweenValue" >
|
|
|
+ <when test="criterion.betweenValue">
|
|
|
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
|
</when>
|
|
|
- <when test="criterion.listValue" >
|
|
|
+ <when test="criterion.listValue">
|
|
|
and ${criterion.condition}
|
|
|
- <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
|
|
|
+ <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
|
|
#{listItem}
|
|
|
</foreach>
|
|
|
</when>
|
|
@@ -80,32 +86,34 @@
|
|
|
</foreach>
|
|
|
</where>
|
|
|
</sql>
|
|
|
- <sql id="Base_Column_List" >
|
|
|
+ <sql id="Base_Column_List">
|
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
- 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_TYPE
|
|
|
</sql>
|
|
|
- <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.minpay.db.table.model.VmGameRuleExample" >
|
|
|
+ <select id="selectByExample" parameterType="com.minpay.db.table.model.VmGameRuleExample" resultMap="BaseResultMap">
|
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
select
|
|
|
- <if test="distinct" >
|
|
|
+ <if test="distinct">
|
|
|
distinct
|
|
|
</if>
|
|
|
<include refid="Base_Column_List" />
|
|
|
from vm_game_rule
|
|
|
- <if test="_parameter != null" >
|
|
|
+ <if test="_parameter != null">
|
|
|
<include refid="Example_Where_Clause" />
|
|
|
</if>
|
|
|
- <if test="orderByClause != null" >
|
|
|
+ <if test="orderByClause != null">
|
|
|
order by ${orderByClause}
|
|
|
</if>
|
|
|
</select>
|
|
|
- <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
|
|
|
+ <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
@@ -115,7 +123,7 @@
|
|
|
from vm_game_rule
|
|
|
where VGL_ID = #{id,jdbcType=VARCHAR}
|
|
|
</select>
|
|
|
- <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
@@ -123,125 +131,183 @@
|
|
|
delete from vm_game_rule
|
|
|
where VGL_ID = #{id,jdbcType=VARCHAR}
|
|
|
</delete>
|
|
|
- <delete id="deleteByExample" parameterType="com.minpay.db.table.model.VmGameRuleExample" >
|
|
|
+ <delete id="deleteByExample" parameterType="com.minpay.db.table.model.VmGameRuleExample">
|
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
delete from vm_game_rule
|
|
|
- <if test="_parameter != null" >
|
|
|
+ <if test="_parameter != null">
|
|
|
<include refid="Example_Where_Clause" />
|
|
|
</if>
|
|
|
</delete>
|
|
|
- <insert id="insert" parameterType="com.minpay.db.table.model.VmGameRule" >
|
|
|
+ <insert id="insert" parameterType="com.minpay.db.table.model.VmGameRule">
|
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
insert into vm_game_rule (VGL_ID, VGL_NAME, VGL_DESC,
|
|
|
VGL_STATE, VGL_ALIPAYID, VGL_CREATE_TIME,
|
|
|
- VGL_CREATE_USER)
|
|
|
+ VGL_CREATE_USER, VGL_REWARD_GRADE, VGL_REWARD_AMT_RATIO,
|
|
|
+ VGL_REWARD_TYPE, VGL_JACKPOT_AMT, VGL_EXTRACT_RATIO,
|
|
|
+ VGL_TYPE)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{desc,jdbcType=VARCHAR},
|
|
|
#{state,jdbcType=VARCHAR}, #{alipayid,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR},
|
|
|
- #{createUser,jdbcType=VARCHAR})
|
|
|
+ #{createUser,jdbcType=VARCHAR}, #{rewardGrade,jdbcType=VARCHAR}, #{rewardAmtRatio,jdbcType=VARCHAR},
|
|
|
+ #{rewardType,jdbcType=VARCHAR}, #{jackpotAmt,jdbcType=VARCHAR}, #{extractRatio,jdbcType=VARCHAR},
|
|
|
+ #{type,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
- <insert id="insertSelective" parameterType="com.minpay.db.table.model.VmGameRule" >
|
|
|
+ <insert id="insertSelective" parameterType="com.minpay.db.table.model.VmGameRule">
|
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
insert into vm_game_rule
|
|
|
- <trim prefix="(" suffix=")" suffixOverrides="," >
|
|
|
- <if test="id != null" >
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="id != null">
|
|
|
VGL_ID,
|
|
|
</if>
|
|
|
- <if test="name != null" >
|
|
|
+ <if test="name != null">
|
|
|
VGL_NAME,
|
|
|
</if>
|
|
|
- <if test="desc != null" >
|
|
|
+ <if test="desc != null">
|
|
|
VGL_DESC,
|
|
|
</if>
|
|
|
- <if test="state != null" >
|
|
|
+ <if test="state != null">
|
|
|
VGL_STATE,
|
|
|
</if>
|
|
|
- <if test="alipayid != null" >
|
|
|
+ <if test="alipayid != null">
|
|
|
VGL_ALIPAYID,
|
|
|
</if>
|
|
|
- <if test="createTime != null" >
|
|
|
+ <if test="createTime != null">
|
|
|
VGL_CREATE_TIME,
|
|
|
</if>
|
|
|
- <if test="createUser != null" >
|
|
|
+ <if test="createUser != null">
|
|
|
VGL_CREATE_USER,
|
|
|
</if>
|
|
|
+ <if test="rewardGrade != null">
|
|
|
+ VGL_REWARD_GRADE,
|
|
|
+ </if>
|
|
|
+ <if test="rewardAmtRatio != null">
|
|
|
+ VGL_REWARD_AMT_RATIO,
|
|
|
+ </if>
|
|
|
+ <if test="rewardType != null">
|
|
|
+ VGL_REWARD_TYPE,
|
|
|
+ </if>
|
|
|
+ <if test="jackpotAmt != null">
|
|
|
+ VGL_JACKPOT_AMT,
|
|
|
+ </if>
|
|
|
+ <if test="extractRatio != null">
|
|
|
+ VGL_EXTRACT_RATIO,
|
|
|
+ </if>
|
|
|
+ <if test="type != null">
|
|
|
+ VGL_TYPE,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
- <trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
|
- <if test="id != null" >
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="id != null">
|
|
|
#{id,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="name != null" >
|
|
|
+ <if test="name != null">
|
|
|
#{name,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="desc != null" >
|
|
|
+ <if test="desc != null">
|
|
|
#{desc,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="state != null" >
|
|
|
+ <if test="state != null">
|
|
|
#{state,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="alipayid != null" >
|
|
|
+ <if test="alipayid != null">
|
|
|
#{alipayid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="createTime != null" >
|
|
|
+ <if test="createTime != null">
|
|
|
#{createTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="createUser != null" >
|
|
|
+ <if test="createUser != null">
|
|
|
#{createUser,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="rewardGrade != null">
|
|
|
+ #{rewardGrade,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="rewardAmtRatio != null">
|
|
|
+ #{rewardAmtRatio,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="rewardType != null">
|
|
|
+ #{rewardType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="jackpotAmt != null">
|
|
|
+ #{jackpotAmt,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="extractRatio != null">
|
|
|
+ #{extractRatio,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="type != null">
|
|
|
+ #{type,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</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">
|
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
select count(*) from vm_game_rule
|
|
|
- <if test="_parameter != null" >
|
|
|
+ <if test="_parameter != null">
|
|
|
<include refid="Example_Where_Clause" />
|
|
|
</if>
|
|
|
</select>
|
|
|
- <update id="updateByExampleSelective" parameterType="map" >
|
|
|
+ <update id="updateByExampleSelective" parameterType="map">
|
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
update vm_game_rule
|
|
|
- <set >
|
|
|
- <if test="record.id != null" >
|
|
|
+ <set>
|
|
|
+ <if test="record.id != null">
|
|
|
VGL_ID = #{record.id,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.name != null" >
|
|
|
+ <if test="record.name != null">
|
|
|
VGL_NAME = #{record.name,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.desc != null" >
|
|
|
+ <if test="record.desc != null">
|
|
|
VGL_DESC = #{record.desc,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.state != null" >
|
|
|
+ <if test="record.state != null">
|
|
|
VGL_STATE = #{record.state,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.alipayid != null" >
|
|
|
+ <if test="record.alipayid != null">
|
|
|
VGL_ALIPAYID = #{record.alipayid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.createTime != null" >
|
|
|
+ <if test="record.createTime != null">
|
|
|
VGL_CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.createUser != null" >
|
|
|
+ <if test="record.createUser != null">
|
|
|
VGL_CREATE_USER = #{record.createUser,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="record.rewardGrade != null">
|
|
|
+ VGL_REWARD_GRADE = #{record.rewardGrade,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.rewardAmtRatio != null">
|
|
|
+ VGL_REWARD_AMT_RATIO = #{record.rewardAmtRatio,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.rewardType != null">
|
|
|
+ VGL_REWARD_TYPE = #{record.rewardType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.jackpotAmt != null">
|
|
|
+ VGL_JACKPOT_AMT = #{record.jackpotAmt,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.extractRatio != null">
|
|
|
+ VGL_EXTRACT_RATIO = #{record.extractRatio,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.type != null">
|
|
|
+ VGL_TYPE = #{record.type,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
- <if test="_parameter != null" >
|
|
|
+ <if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
|
</update>
|
|
|
- <update id="updateByExample" parameterType="map" >
|
|
|
+ <update id="updateByExample" parameterType="map">
|
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
@@ -253,40 +319,64 @@
|
|
|
VGL_STATE = #{record.state,jdbcType=VARCHAR},
|
|
|
VGL_ALIPAYID = #{record.alipayid,jdbcType=VARCHAR},
|
|
|
VGL_CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
|
|
|
- VGL_CREATE_USER = #{record.createUser,jdbcType=VARCHAR}
|
|
|
- <if test="_parameter != null" >
|
|
|
+ VGL_CREATE_USER = #{record.createUser,jdbcType=VARCHAR},
|
|
|
+ VGL_REWARD_GRADE = #{record.rewardGrade,jdbcType=VARCHAR},
|
|
|
+ VGL_REWARD_AMT_RATIO = #{record.rewardAmtRatio,jdbcType=VARCHAR},
|
|
|
+ VGL_REWARD_TYPE = #{record.rewardType,jdbcType=VARCHAR},
|
|
|
+ VGL_JACKPOT_AMT = #{record.jackpotAmt,jdbcType=VARCHAR},
|
|
|
+ VGL_EXTRACT_RATIO = #{record.extractRatio,jdbcType=VARCHAR},
|
|
|
+ VGL_TYPE = #{record.type,jdbcType=VARCHAR}
|
|
|
+ <if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
|
</update>
|
|
|
- <update id="updateByPrimaryKeySelective" parameterType="com.minpay.db.table.model.VmGameRule" >
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.minpay.db.table.model.VmGameRule">
|
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
update vm_game_rule
|
|
|
- <set >
|
|
|
- <if test="name != null" >
|
|
|
+ <set>
|
|
|
+ <if test="name != null">
|
|
|
VGL_NAME = #{name,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="desc != null" >
|
|
|
+ <if test="desc != null">
|
|
|
VGL_DESC = #{desc,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="state != null" >
|
|
|
+ <if test="state != null">
|
|
|
VGL_STATE = #{state,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="alipayid != null" >
|
|
|
+ <if test="alipayid != null">
|
|
|
VGL_ALIPAYID = #{alipayid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="createTime != null" >
|
|
|
+ <if test="createTime != null">
|
|
|
VGL_CREATE_TIME = #{createTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="createUser != null" >
|
|
|
+ <if test="createUser != null">
|
|
|
VGL_CREATE_USER = #{createUser,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="rewardGrade != null">
|
|
|
+ VGL_REWARD_GRADE = #{rewardGrade,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="rewardAmtRatio != null">
|
|
|
+ VGL_REWARD_AMT_RATIO = #{rewardAmtRatio,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="rewardType != null">
|
|
|
+ VGL_REWARD_TYPE = #{rewardType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="jackpotAmt != null">
|
|
|
+ VGL_JACKPOT_AMT = #{jackpotAmt,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="extractRatio != null">
|
|
|
+ VGL_EXTRACT_RATIO = #{extractRatio,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="type != null">
|
|
|
+ VGL_TYPE = #{type,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where VGL_ID = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
- <update id="updateByPrimaryKey" parameterType="com.minpay.db.table.model.VmGameRule" >
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.minpay.db.table.model.VmGameRule">
|
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
@@ -297,7 +387,13 @@
|
|
|
VGL_STATE = #{state,jdbcType=VARCHAR},
|
|
|
VGL_ALIPAYID = #{alipayid,jdbcType=VARCHAR},
|
|
|
VGL_CREATE_TIME = #{createTime,jdbcType=VARCHAR},
|
|
|
- VGL_CREATE_USER = #{createUser,jdbcType=VARCHAR}
|
|
|
+ VGL_CREATE_USER = #{createUser,jdbcType=VARCHAR},
|
|
|
+ VGL_REWARD_GRADE = #{rewardGrade,jdbcType=VARCHAR},
|
|
|
+ VGL_REWARD_AMT_RATIO = #{rewardAmtRatio,jdbcType=VARCHAR},
|
|
|
+ VGL_REWARD_TYPE = #{rewardType,jdbcType=VARCHAR},
|
|
|
+ VGL_JACKPOT_AMT = #{jackpotAmt,jdbcType=VARCHAR},
|
|
|
+ VGL_EXTRACT_RATIO = #{extractRatio,jdbcType=VARCHAR},
|
|
|
+ VGL_TYPE = #{type,jdbcType=VARCHAR}
|
|
|
where VGL_ID = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper>
|