|
|
@@ -1,59 +1,61 @@
|
|
|
-<?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.VmProEquRelMapper" >
|
|
|
- <resultMap id="BaseResultMap" type="com.minpay.db.table.model.VmProEquRel" >
|
|
|
+<?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.VmProEquRelMapper">
|
|
|
+ <resultMap id="BaseResultMap" type="com.minpay.db.table.model.VmProEquRel">
|
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
- <id column="VCI_ID" property="id" jdbcType="VARCHAR" />
|
|
|
- <result column="VCI_CHANNEL" property="channel" jdbcType="VARCHAR" />
|
|
|
- <result column="VCI_PRODUCT_ID" property="productId" jdbcType="VARCHAR" />
|
|
|
- <result column="VCI_EQUIPMENT_ID" property="equipmentId" jdbcType="VARCHAR" />
|
|
|
- <result column="VCI_AISLE" property="aisle" jdbcType="VARCHAR" />
|
|
|
- <result column="VCI_CARGO_WAY_ROW" property="cargoWayRow" jdbcType="VARCHAR" />
|
|
|
- <result column="VCI_CARGO_WAY_LINE" property="cargoWayLine" jdbcType="VARCHAR" />
|
|
|
- <result column="VCI_CARGO_WAY_NUMS" property="cargoWayNums" jdbcType="VARCHAR" />
|
|
|
- <result column="VCI_PRODUCT_NUMS" property="productNums" jdbcType="VARCHAR" />
|
|
|
- <result column="VCI_USER_Id" property="userId" jdbcType="VARCHAR" />
|
|
|
- <result column="VCI_SALL_PRICE" property="sallPrice" jdbcType="VARCHAR" />
|
|
|
- <result column="VCI_GAME_PRICE" property="gamePrice" jdbcType="VARCHAR" />
|
|
|
- <result column="VCI_COST_PRICE" property="costPrice" jdbcType="VARCHAR" />
|
|
|
- <result column="VCI_IS_PROMOTION" property="isPromotion" jdbcType="CHAR" />
|
|
|
- <result column="VCI_PROMOTION_PRICE" property="promotionPrice" jdbcType="VARCHAR" />
|
|
|
- <result column="VCI_GAME_TYPE" property="gameType" jdbcType="VARCHAR" />
|
|
|
- <result column="VCI_IS_FRAGILE" property="isFragile" jdbcType="CHAR" />
|
|
|
- <result column="VCI_REMARKS" property="remarks" jdbcType="VARCHAR" />
|
|
|
- <result column="VCI_CREATE_USER" property="createUser" jdbcType="VARCHAR" />
|
|
|
- <result column="VCI_CREATE_TIME" property="createTime" jdbcType="VARCHAR" />
|
|
|
- <result column="VCI_MODIFY_USER" property="modifyUser" jdbcType="VARCHAR" />
|
|
|
- <result column="VCI_MODIFY_TIME" property="modifyTime" jdbcType="VARCHAR" />
|
|
|
- <result column="VCI_EXEIT_STATE" property="exeitState" jdbcType="CHAR" />
|
|
|
- <result column="VCI_LUCK" property="luck" jdbcType="VARCHAR" />
|
|
|
+ <id column="VCI_ID" jdbcType="VARCHAR" property="id" />
|
|
|
+ <result column="VCI_CHANNEL" jdbcType="VARCHAR" property="channel" />
|
|
|
+ <result column="VCI_PRODUCT_ID" jdbcType="VARCHAR" property="productId" />
|
|
|
+ <result column="VCI_EQUIPMENT_ID" jdbcType="VARCHAR" property="equipmentId" />
|
|
|
+ <result column="VCI_AISLE" jdbcType="VARCHAR" property="aisle" />
|
|
|
+ <result column="VCI_CARGO_WAY_ROW" jdbcType="VARCHAR" property="cargoWayRow" />
|
|
|
+ <result column="VCI_CARGO_WAY_LINE" jdbcType="VARCHAR" property="cargoWayLine" />
|
|
|
+ <result column="VCI_CARGO_WAY_NUMS" jdbcType="VARCHAR" property="cargoWayNums" />
|
|
|
+ <result column="VCI_PRODUCT_NUMS" jdbcType="VARCHAR" property="productNums" />
|
|
|
+ <result column="VCI_USER_Id" jdbcType="VARCHAR" property="userId" />
|
|
|
+ <result column="VCI_SALL_PRICE" jdbcType="VARCHAR" property="sallPrice" />
|
|
|
+ <result column="VCI_GAME_PRICE" jdbcType="VARCHAR" property="gamePrice" />
|
|
|
+ <result column="VCI_COST_PRICE" jdbcType="VARCHAR" property="costPrice" />
|
|
|
+ <result column="VCI_IS_PROMOTION" jdbcType="CHAR" property="isPromotion" />
|
|
|
+ <result column="VCI_PROMOTION_PRICE" jdbcType="VARCHAR" property="promotionPrice" />
|
|
|
+ <result column="VCI_GAME_TYPE" jdbcType="VARCHAR" property="gameType" />
|
|
|
+ <result column="VCI_IS_FRAGILE" jdbcType="CHAR" property="isFragile" />
|
|
|
+ <result column="VCI_REMARKS" jdbcType="VARCHAR" property="remarks" />
|
|
|
+ <result column="VCI_CREATE_USER" jdbcType="VARCHAR" property="createUser" />
|
|
|
+ <result column="VCI_CREATE_TIME" jdbcType="VARCHAR" property="createTime" />
|
|
|
+ <result column="VCI_MODIFY_USER" jdbcType="VARCHAR" property="modifyUser" />
|
|
|
+ <result column="VCI_MODIFY_TIME" jdbcType="VARCHAR" property="modifyTime" />
|
|
|
+ <result column="VCI_EXEIT_STATE" jdbcType="CHAR" property="exeitState" />
|
|
|
+ <result column="VCI_LUCK" jdbcType="VARCHAR" property="luck" />
|
|
|
+ <result column="VCI_ACCUMULATED_AMOUNT" jdbcType="VARCHAR" property="accumulatedAmount" />
|
|
|
+ <result column="VCI_DRAW_AMOUNT" jdbcType="VARCHAR" property="drawAmount" />
|
|
|
</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>
|
|
|
@@ -64,29 +66,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>
|
|
|
@@ -97,7 +99,7 @@
|
|
|
</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.
|
|
|
@@ -106,27 +108,27 @@
|
|
|
VCI_CARGO_WAY_LINE, VCI_CARGO_WAY_NUMS, VCI_PRODUCT_NUMS, VCI_USER_Id, VCI_SALL_PRICE,
|
|
|
VCI_GAME_PRICE, VCI_COST_PRICE, VCI_IS_PROMOTION, VCI_PROMOTION_PRICE, VCI_GAME_TYPE,
|
|
|
VCI_IS_FRAGILE, VCI_REMARKS, VCI_CREATE_USER, VCI_CREATE_TIME, VCI_MODIFY_USER, VCI_MODIFY_TIME,
|
|
|
- VCI_EXEIT_STATE, VCI_LUCK
|
|
|
+ VCI_EXEIT_STATE, VCI_LUCK, VCI_ACCUMULATED_AMOUNT, VCI_DRAW_AMOUNT
|
|
|
</sql>
|
|
|
- <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.minpay.db.table.model.VmProEquRelExample" >
|
|
|
+ <select id="selectByExample" parameterType="com.minpay.db.table.model.VmProEquRelExample" 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_pro_equ_rel
|
|
|
- <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.
|
|
|
@@ -136,7 +138,7 @@
|
|
|
from vm_pro_equ_rel
|
|
|
where VCI_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.
|
|
|
@@ -144,17 +146,17 @@
|
|
|
delete from vm_pro_equ_rel
|
|
|
where VCI_ID = #{id,jdbcType=VARCHAR}
|
|
|
</delete>
|
|
|
- <delete id="deleteByExample" parameterType="com.minpay.db.table.model.VmProEquRelExample" >
|
|
|
+ <delete id="deleteByExample" parameterType="com.minpay.db.table.model.VmProEquRelExample">
|
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
delete from vm_pro_equ_rel
|
|
|
- <if test="_parameter != null" >
|
|
|
+ <if test="_parameter != null">
|
|
|
<include refid="Example_Where_Clause" />
|
|
|
</if>
|
|
|
</delete>
|
|
|
- <insert id="insert" parameterType="com.minpay.db.table.model.VmProEquRel" >
|
|
|
+ <insert id="insert" parameterType="com.minpay.db.table.model.VmProEquRel">
|
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
@@ -166,8 +168,8 @@
|
|
|
VCI_COST_PRICE, VCI_IS_PROMOTION, VCI_PROMOTION_PRICE,
|
|
|
VCI_GAME_TYPE, VCI_IS_FRAGILE, VCI_REMARKS,
|
|
|
VCI_CREATE_USER, VCI_CREATE_TIME, VCI_MODIFY_USER,
|
|
|
- VCI_MODIFY_TIME, VCI_EXEIT_STATE, VCI_LUCK
|
|
|
- )
|
|
|
+ VCI_MODIFY_TIME, VCI_EXEIT_STATE, VCI_LUCK,
|
|
|
+ VCI_ACCUMULATED_AMOUNT, VCI_DRAW_AMOUNT)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{channel,jdbcType=VARCHAR}, #{productId,jdbcType=VARCHAR},
|
|
|
#{equipmentId,jdbcType=VARCHAR}, #{aisle,jdbcType=VARCHAR}, #{cargoWayRow,jdbcType=VARCHAR},
|
|
|
#{cargoWayLine,jdbcType=VARCHAR}, #{cargoWayNums,jdbcType=VARCHAR}, #{productNums,jdbcType=VARCHAR},
|
|
|
@@ -175,259 +177,277 @@
|
|
|
#{costPrice,jdbcType=VARCHAR}, #{isPromotion,jdbcType=CHAR}, #{promotionPrice,jdbcType=VARCHAR},
|
|
|
#{gameType,jdbcType=VARCHAR}, #{isFragile,jdbcType=CHAR}, #{remarks,jdbcType=VARCHAR},
|
|
|
#{createUser,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR}, #{modifyUser,jdbcType=VARCHAR},
|
|
|
- #{modifyTime,jdbcType=VARCHAR}, #{exeitState,jdbcType=CHAR}, #{luck,jdbcType=VARCHAR}
|
|
|
- )
|
|
|
+ #{modifyTime,jdbcType=VARCHAR}, #{exeitState,jdbcType=CHAR}, #{luck,jdbcType=VARCHAR},
|
|
|
+ #{accumulatedAmount,jdbcType=VARCHAR}, #{drawAmount,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
- <insert id="insertSelective" parameterType="com.minpay.db.table.model.VmProEquRel" >
|
|
|
+ <insert id="insertSelective" parameterType="com.minpay.db.table.model.VmProEquRel">
|
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
insert into vm_pro_equ_rel
|
|
|
- <trim prefix="(" suffix=")" suffixOverrides="," >
|
|
|
- <if test="id != null" >
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="id != null">
|
|
|
VCI_ID,
|
|
|
</if>
|
|
|
- <if test="channel != null" >
|
|
|
+ <if test="channel != null">
|
|
|
VCI_CHANNEL,
|
|
|
</if>
|
|
|
- <if test="productId != null" >
|
|
|
+ <if test="productId != null">
|
|
|
VCI_PRODUCT_ID,
|
|
|
</if>
|
|
|
- <if test="equipmentId != null" >
|
|
|
+ <if test="equipmentId != null">
|
|
|
VCI_EQUIPMENT_ID,
|
|
|
</if>
|
|
|
- <if test="aisle != null" >
|
|
|
+ <if test="aisle != null">
|
|
|
VCI_AISLE,
|
|
|
</if>
|
|
|
- <if test="cargoWayRow != null" >
|
|
|
+ <if test="cargoWayRow != null">
|
|
|
VCI_CARGO_WAY_ROW,
|
|
|
</if>
|
|
|
- <if test="cargoWayLine != null" >
|
|
|
+ <if test="cargoWayLine != null">
|
|
|
VCI_CARGO_WAY_LINE,
|
|
|
</if>
|
|
|
- <if test="cargoWayNums != null" >
|
|
|
+ <if test="cargoWayNums != null">
|
|
|
VCI_CARGO_WAY_NUMS,
|
|
|
</if>
|
|
|
- <if test="productNums != null" >
|
|
|
+ <if test="productNums != null">
|
|
|
VCI_PRODUCT_NUMS,
|
|
|
</if>
|
|
|
- <if test="userId != null" >
|
|
|
+ <if test="userId != null">
|
|
|
VCI_USER_Id,
|
|
|
</if>
|
|
|
- <if test="sallPrice != null" >
|
|
|
+ <if test="sallPrice != null">
|
|
|
VCI_SALL_PRICE,
|
|
|
</if>
|
|
|
- <if test="gamePrice != null" >
|
|
|
+ <if test="gamePrice != null">
|
|
|
VCI_GAME_PRICE,
|
|
|
</if>
|
|
|
- <if test="costPrice != null" >
|
|
|
+ <if test="costPrice != null">
|
|
|
VCI_COST_PRICE,
|
|
|
</if>
|
|
|
- <if test="isPromotion != null" >
|
|
|
+ <if test="isPromotion != null">
|
|
|
VCI_IS_PROMOTION,
|
|
|
</if>
|
|
|
- <if test="promotionPrice != null" >
|
|
|
+ <if test="promotionPrice != null">
|
|
|
VCI_PROMOTION_PRICE,
|
|
|
</if>
|
|
|
- <if test="gameType != null" >
|
|
|
+ <if test="gameType != null">
|
|
|
VCI_GAME_TYPE,
|
|
|
</if>
|
|
|
- <if test="isFragile != null" >
|
|
|
+ <if test="isFragile != null">
|
|
|
VCI_IS_FRAGILE,
|
|
|
</if>
|
|
|
- <if test="remarks != null" >
|
|
|
+ <if test="remarks != null">
|
|
|
VCI_REMARKS,
|
|
|
</if>
|
|
|
- <if test="createUser != null" >
|
|
|
+ <if test="createUser != null">
|
|
|
VCI_CREATE_USER,
|
|
|
</if>
|
|
|
- <if test="createTime != null" >
|
|
|
+ <if test="createTime != null">
|
|
|
VCI_CREATE_TIME,
|
|
|
</if>
|
|
|
- <if test="modifyUser != null" >
|
|
|
+ <if test="modifyUser != null">
|
|
|
VCI_MODIFY_USER,
|
|
|
</if>
|
|
|
- <if test="modifyTime != null" >
|
|
|
+ <if test="modifyTime != null">
|
|
|
VCI_MODIFY_TIME,
|
|
|
</if>
|
|
|
- <if test="exeitState != null" >
|
|
|
+ <if test="exeitState != null">
|
|
|
VCI_EXEIT_STATE,
|
|
|
</if>
|
|
|
- <if test="luck != null" >
|
|
|
+ <if test="luck != null">
|
|
|
VCI_LUCK,
|
|
|
</if>
|
|
|
+ <if test="accumulatedAmount != null">
|
|
|
+ VCI_ACCUMULATED_AMOUNT,
|
|
|
+ </if>
|
|
|
+ <if test="drawAmount != null">
|
|
|
+ VCI_DRAW_AMOUNT,
|
|
|
+ </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="channel != null" >
|
|
|
+ <if test="channel != null">
|
|
|
#{channel,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="productId != null" >
|
|
|
+ <if test="productId != null">
|
|
|
#{productId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="equipmentId != null" >
|
|
|
+ <if test="equipmentId != null">
|
|
|
#{equipmentId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="aisle != null" >
|
|
|
+ <if test="aisle != null">
|
|
|
#{aisle,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="cargoWayRow != null" >
|
|
|
+ <if test="cargoWayRow != null">
|
|
|
#{cargoWayRow,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="cargoWayLine != null" >
|
|
|
+ <if test="cargoWayLine != null">
|
|
|
#{cargoWayLine,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="cargoWayNums != null" >
|
|
|
+ <if test="cargoWayNums != null">
|
|
|
#{cargoWayNums,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="productNums != null" >
|
|
|
+ <if test="productNums != null">
|
|
|
#{productNums,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="userId != null" >
|
|
|
+ <if test="userId != null">
|
|
|
#{userId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="sallPrice != null" >
|
|
|
+ <if test="sallPrice != null">
|
|
|
#{sallPrice,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="gamePrice != null" >
|
|
|
+ <if test="gamePrice != null">
|
|
|
#{gamePrice,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="costPrice != null" >
|
|
|
+ <if test="costPrice != null">
|
|
|
#{costPrice,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="isPromotion != null" >
|
|
|
+ <if test="isPromotion != null">
|
|
|
#{isPromotion,jdbcType=CHAR},
|
|
|
</if>
|
|
|
- <if test="promotionPrice != null" >
|
|
|
+ <if test="promotionPrice != null">
|
|
|
#{promotionPrice,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="gameType != null" >
|
|
|
+ <if test="gameType != null">
|
|
|
#{gameType,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="isFragile != null" >
|
|
|
+ <if test="isFragile != null">
|
|
|
#{isFragile,jdbcType=CHAR},
|
|
|
</if>
|
|
|
- <if test="remarks != null" >
|
|
|
+ <if test="remarks != null">
|
|
|
#{remarks,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="createUser != null" >
|
|
|
+ <if test="createUser != null">
|
|
|
#{createUser,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="createTime != null" >
|
|
|
+ <if test="createTime != null">
|
|
|
#{createTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="modifyUser != null" >
|
|
|
+ <if test="modifyUser != null">
|
|
|
#{modifyUser,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="modifyTime != null" >
|
|
|
+ <if test="modifyTime != null">
|
|
|
#{modifyTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="exeitState != null" >
|
|
|
+ <if test="exeitState != null">
|
|
|
#{exeitState,jdbcType=CHAR},
|
|
|
</if>
|
|
|
- <if test="luck != null" >
|
|
|
+ <if test="luck != null">
|
|
|
#{luck,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="accumulatedAmount != null">
|
|
|
+ #{accumulatedAmount,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="drawAmount != null">
|
|
|
+ #{drawAmount,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
- <select id="countByExample" parameterType="com.minpay.db.table.model.VmProEquRelExample" resultType="java.lang.Integer" >
|
|
|
+ <select id="countByExample" parameterType="com.minpay.db.table.model.VmProEquRelExample" resultType="java.lang.Integer">
|
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
select count(*) from vm_pro_equ_rel
|
|
|
- <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_pro_equ_rel
|
|
|
- <set >
|
|
|
- <if test="record.id != null" >
|
|
|
+ <set>
|
|
|
+ <if test="record.id != null">
|
|
|
VCI_ID = #{record.id,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.channel != null" >
|
|
|
+ <if test="record.channel != null">
|
|
|
VCI_CHANNEL = #{record.channel,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.productId != null" >
|
|
|
+ <if test="record.productId != null">
|
|
|
VCI_PRODUCT_ID = #{record.productId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.equipmentId != null" >
|
|
|
+ <if test="record.equipmentId != null">
|
|
|
VCI_EQUIPMENT_ID = #{record.equipmentId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.aisle != null" >
|
|
|
+ <if test="record.aisle != null">
|
|
|
VCI_AISLE = #{record.aisle,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.cargoWayRow != null" >
|
|
|
+ <if test="record.cargoWayRow != null">
|
|
|
VCI_CARGO_WAY_ROW = #{record.cargoWayRow,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.cargoWayLine != null" >
|
|
|
+ <if test="record.cargoWayLine != null">
|
|
|
VCI_CARGO_WAY_LINE = #{record.cargoWayLine,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.cargoWayNums != null" >
|
|
|
+ <if test="record.cargoWayNums != null">
|
|
|
VCI_CARGO_WAY_NUMS = #{record.cargoWayNums,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.productNums != null" >
|
|
|
+ <if test="record.productNums != null">
|
|
|
VCI_PRODUCT_NUMS = #{record.productNums,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.userId != null" >
|
|
|
+ <if test="record.userId != null">
|
|
|
VCI_USER_Id = #{record.userId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.sallPrice != null" >
|
|
|
+ <if test="record.sallPrice != null">
|
|
|
VCI_SALL_PRICE = #{record.sallPrice,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.gamePrice != null" >
|
|
|
+ <if test="record.gamePrice != null">
|
|
|
VCI_GAME_PRICE = #{record.gamePrice,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.costPrice != null" >
|
|
|
+ <if test="record.costPrice != null">
|
|
|
VCI_COST_PRICE = #{record.costPrice,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.isPromotion != null" >
|
|
|
+ <if test="record.isPromotion != null">
|
|
|
VCI_IS_PROMOTION = #{record.isPromotion,jdbcType=CHAR},
|
|
|
</if>
|
|
|
- <if test="record.promotionPrice != null" >
|
|
|
+ <if test="record.promotionPrice != null">
|
|
|
VCI_PROMOTION_PRICE = #{record.promotionPrice,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.gameType != null" >
|
|
|
+ <if test="record.gameType != null">
|
|
|
VCI_GAME_TYPE = #{record.gameType,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.isFragile != null" >
|
|
|
+ <if test="record.isFragile != null">
|
|
|
VCI_IS_FRAGILE = #{record.isFragile,jdbcType=CHAR},
|
|
|
</if>
|
|
|
- <if test="record.remarks != null" >
|
|
|
+ <if test="record.remarks != null">
|
|
|
VCI_REMARKS = #{record.remarks,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.createUser != null" >
|
|
|
+ <if test="record.createUser != null">
|
|
|
VCI_CREATE_USER = #{record.createUser,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.createTime != null" >
|
|
|
+ <if test="record.createTime != null">
|
|
|
VCI_CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.modifyUser != null" >
|
|
|
+ <if test="record.modifyUser != null">
|
|
|
VCI_MODIFY_USER = #{record.modifyUser,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.modifyTime != null" >
|
|
|
+ <if test="record.modifyTime != null">
|
|
|
VCI_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.exeitState != null" >
|
|
|
+ <if test="record.exeitState != null">
|
|
|
VCI_EXEIT_STATE = #{record.exeitState,jdbcType=CHAR},
|
|
|
</if>
|
|
|
- <if test="record.luck != null" >
|
|
|
+ <if test="record.luck != null">
|
|
|
VCI_LUCK = #{record.luck,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="record.accumulatedAmount != null">
|
|
|
+ VCI_ACCUMULATED_AMOUNT = #{record.accumulatedAmount,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.drawAmount != null">
|
|
|
+ VCI_DRAW_AMOUNT = #{record.drawAmount,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.
|
|
|
@@ -456,91 +476,99 @@
|
|
|
VCI_MODIFY_USER = #{record.modifyUser,jdbcType=VARCHAR},
|
|
|
VCI_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR},
|
|
|
VCI_EXEIT_STATE = #{record.exeitState,jdbcType=CHAR},
|
|
|
- VCI_LUCK = #{record.luck,jdbcType=VARCHAR}
|
|
|
- <if test="_parameter != null" >
|
|
|
+ VCI_LUCK = #{record.luck,jdbcType=VARCHAR},
|
|
|
+ VCI_ACCUMULATED_AMOUNT = #{record.accumulatedAmount,jdbcType=VARCHAR},
|
|
|
+ VCI_DRAW_AMOUNT = #{record.drawAmount,jdbcType=VARCHAR}
|
|
|
+ <if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
|
</update>
|
|
|
- <update id="updateByPrimaryKeySelective" parameterType="com.minpay.db.table.model.VmProEquRel" >
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.minpay.db.table.model.VmProEquRel">
|
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
update vm_pro_equ_rel
|
|
|
- <set >
|
|
|
- <if test="channel != null" >
|
|
|
+ <set>
|
|
|
+ <if test="channel != null">
|
|
|
VCI_CHANNEL = #{channel,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="productId != null" >
|
|
|
+ <if test="productId != null">
|
|
|
VCI_PRODUCT_ID = #{productId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="equipmentId != null" >
|
|
|
+ <if test="equipmentId != null">
|
|
|
VCI_EQUIPMENT_ID = #{equipmentId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="aisle != null" >
|
|
|
+ <if test="aisle != null">
|
|
|
VCI_AISLE = #{aisle,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="cargoWayRow != null" >
|
|
|
+ <if test="cargoWayRow != null">
|
|
|
VCI_CARGO_WAY_ROW = #{cargoWayRow,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="cargoWayLine != null" >
|
|
|
+ <if test="cargoWayLine != null">
|
|
|
VCI_CARGO_WAY_LINE = #{cargoWayLine,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="cargoWayNums != null" >
|
|
|
+ <if test="cargoWayNums != null">
|
|
|
VCI_CARGO_WAY_NUMS = #{cargoWayNums,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="productNums != null" >
|
|
|
+ <if test="productNums != null">
|
|
|
VCI_PRODUCT_NUMS = #{productNums,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="userId != null" >
|
|
|
+ <if test="userId != null">
|
|
|
VCI_USER_Id = #{userId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="sallPrice != null" >
|
|
|
+ <if test="sallPrice != null">
|
|
|
VCI_SALL_PRICE = #{sallPrice,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="gamePrice != null" >
|
|
|
+ <if test="gamePrice != null">
|
|
|
VCI_GAME_PRICE = #{gamePrice,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="costPrice != null" >
|
|
|
+ <if test="costPrice != null">
|
|
|
VCI_COST_PRICE = #{costPrice,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="isPromotion != null" >
|
|
|
+ <if test="isPromotion != null">
|
|
|
VCI_IS_PROMOTION = #{isPromotion,jdbcType=CHAR},
|
|
|
</if>
|
|
|
- <if test="promotionPrice != null" >
|
|
|
+ <if test="promotionPrice != null">
|
|
|
VCI_PROMOTION_PRICE = #{promotionPrice,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="gameType != null" >
|
|
|
+ <if test="gameType != null">
|
|
|
VCI_GAME_TYPE = #{gameType,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="isFragile != null" >
|
|
|
+ <if test="isFragile != null">
|
|
|
VCI_IS_FRAGILE = #{isFragile,jdbcType=CHAR},
|
|
|
</if>
|
|
|
- <if test="remarks != null" >
|
|
|
+ <if test="remarks != null">
|
|
|
VCI_REMARKS = #{remarks,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="createUser != null" >
|
|
|
+ <if test="createUser != null">
|
|
|
VCI_CREATE_USER = #{createUser,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="createTime != null" >
|
|
|
+ <if test="createTime != null">
|
|
|
VCI_CREATE_TIME = #{createTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="modifyUser != null" >
|
|
|
+ <if test="modifyUser != null">
|
|
|
VCI_MODIFY_USER = #{modifyUser,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="modifyTime != null" >
|
|
|
+ <if test="modifyTime != null">
|
|
|
VCI_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="exeitState != null" >
|
|
|
+ <if test="exeitState != null">
|
|
|
VCI_EXEIT_STATE = #{exeitState,jdbcType=CHAR},
|
|
|
</if>
|
|
|
- <if test="luck != null" >
|
|
|
+ <if test="luck != null">
|
|
|
VCI_LUCK = #{luck,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="accumulatedAmount != null">
|
|
|
+ VCI_ACCUMULATED_AMOUNT = #{accumulatedAmount,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="drawAmount != null">
|
|
|
+ VCI_DRAW_AMOUNT = #{drawAmount,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where VCI_ID = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
- <update id="updateByPrimaryKey" parameterType="com.minpay.db.table.model.VmProEquRel" >
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.minpay.db.table.model.VmProEquRel">
|
|
|
<!--
|
|
|
WARNING - @mbggenerated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
@@ -568,7 +596,9 @@
|
|
|
VCI_MODIFY_USER = #{modifyUser,jdbcType=VARCHAR},
|
|
|
VCI_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
|
|
|
VCI_EXEIT_STATE = #{exeitState,jdbcType=CHAR},
|
|
|
- VCI_LUCK = #{luck,jdbcType=VARCHAR}
|
|
|
+ VCI_LUCK = #{luck,jdbcType=VARCHAR},
|
|
|
+ VCI_ACCUMULATED_AMOUNT = #{accumulatedAmount,jdbcType=VARCHAR},
|
|
|
+ VCI_DRAW_AMOUNT = #{drawAmount,jdbcType=VARCHAR}
|
|
|
where VCI_ID = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper>
|