|
@@ -0,0 +1,574 @@
|
|
|
+<?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" />
|
|
|
+ </resultMap>
|
|
|
+ <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" >
|
|
|
+ and ${criterion.condition}
|
|
|
+ </when>
|
|
|
+ <when test="criterion.singleValue" >
|
|
|
+ and ${criterion.condition} #{criterion.value}
|
|
|
+ </when>
|
|
|
+ <when test="criterion.betweenValue" >
|
|
|
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
|
+ </when>
|
|
|
+ <when test="criterion.listValue" >
|
|
|
+ and ${criterion.condition}
|
|
|
+ <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
|
|
|
+ #{listItem}
|
|
|
+ </foreach>
|
|
|
+ </when>
|
|
|
+ </choose>
|
|
|
+ </foreach>
|
|
|
+ </trim>
|
|
|
+ </if>
|
|
|
+ </foreach>
|
|
|
+ </where>
|
|
|
+ </sql>
|
|
|
+ <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" >
|
|
|
+ and ${criterion.condition}
|
|
|
+ </when>
|
|
|
+ <when test="criterion.singleValue" >
|
|
|
+ and ${criterion.condition} #{criterion.value}
|
|
|
+ </when>
|
|
|
+ <when test="criterion.betweenValue" >
|
|
|
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
|
+ </when>
|
|
|
+ <when test="criterion.listValue" >
|
|
|
+ and ${criterion.condition}
|
|
|
+ <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
|
|
|
+ #{listItem}
|
|
|
+ </foreach>
|
|
|
+ </when>
|
|
|
+ </choose>
|
|
|
+ </foreach>
|
|
|
+ </trim>
|
|
|
+ </if>
|
|
|
+ </foreach>
|
|
|
+ </where>
|
|
|
+ </sql>
|
|
|
+ <sql id="Base_Column_List" >
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ VCI_ID, VCI_CHANNEL, VCI_PRODUCT_ID, VCI_EQUIPMENT_ID, VCI_AISLE, VCI_CARGO_WAY_ROW,
|
|
|
+ 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
|
|
|
+ </sql>
|
|
|
+ <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.minpay.db.table.model.VmProEquRelExample" >
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ select
|
|
|
+ <if test="distinct" >
|
|
|
+ distinct
|
|
|
+ </if>
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ from vm_pro_equ_rel
|
|
|
+ <if test="_parameter != null" >
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ <if test="orderByClause != null" >
|
|
|
+ order by ${orderByClause}
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ select
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ from vm_pro_equ_rel
|
|
|
+ where VCI_ID = #{id,jdbcType=VARCHAR}
|
|
|
+ </select>
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ delete from vm_pro_equ_rel
|
|
|
+ where VCI_ID = #{id,jdbcType=VARCHAR}
|
|
|
+ </delete>
|
|
|
+ <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" >
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </delete>
|
|
|
+ <insert id="insert" 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 (VCI_ID, VCI_CHANNEL, VCI_PRODUCT_ID,
|
|
|
+ VCI_EQUIPMENT_ID, VCI_AISLE, VCI_CARGO_WAY_ROW,
|
|
|
+ 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
|
|
|
+ )
|
|
|
+ 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},
|
|
|
+ #{userId,jdbcType=VARCHAR}, #{sallPrice,jdbcType=VARCHAR}, #{gamePrice,jdbcType=VARCHAR},
|
|
|
+ #{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}
|
|
|
+ )
|
|
|
+ </insert>
|
|
|
+ <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" >
|
|
|
+ VCI_ID,
|
|
|
+ </if>
|
|
|
+ <if test="channel != null" >
|
|
|
+ VCI_CHANNEL,
|
|
|
+ </if>
|
|
|
+ <if test="productId != null" >
|
|
|
+ VCI_PRODUCT_ID,
|
|
|
+ </if>
|
|
|
+ <if test="equipmentId != null" >
|
|
|
+ VCI_EQUIPMENT_ID,
|
|
|
+ </if>
|
|
|
+ <if test="aisle != null" >
|
|
|
+ VCI_AISLE,
|
|
|
+ </if>
|
|
|
+ <if test="cargoWayRow != null" >
|
|
|
+ VCI_CARGO_WAY_ROW,
|
|
|
+ </if>
|
|
|
+ <if test="cargoWayLine != null" >
|
|
|
+ VCI_CARGO_WAY_LINE,
|
|
|
+ </if>
|
|
|
+ <if test="cargoWayNums != null" >
|
|
|
+ VCI_CARGO_WAY_NUMS,
|
|
|
+ </if>
|
|
|
+ <if test="productNums != null" >
|
|
|
+ VCI_PRODUCT_NUMS,
|
|
|
+ </if>
|
|
|
+ <if test="userId != null" >
|
|
|
+ VCI_USER_Id,
|
|
|
+ </if>
|
|
|
+ <if test="sallPrice != null" >
|
|
|
+ VCI_SALL_PRICE,
|
|
|
+ </if>
|
|
|
+ <if test="gamePrice != null" >
|
|
|
+ VCI_GAME_PRICE,
|
|
|
+ </if>
|
|
|
+ <if test="costPrice != null" >
|
|
|
+ VCI_COST_PRICE,
|
|
|
+ </if>
|
|
|
+ <if test="isPromotion != null" >
|
|
|
+ VCI_IS_PROMOTION,
|
|
|
+ </if>
|
|
|
+ <if test="promotionPrice != null" >
|
|
|
+ VCI_PROMOTION_PRICE,
|
|
|
+ </if>
|
|
|
+ <if test="gameType != null" >
|
|
|
+ VCI_GAME_TYPE,
|
|
|
+ </if>
|
|
|
+ <if test="isFragile != null" >
|
|
|
+ VCI_IS_FRAGILE,
|
|
|
+ </if>
|
|
|
+ <if test="remarks != null" >
|
|
|
+ VCI_REMARKS,
|
|
|
+ </if>
|
|
|
+ <if test="createUser != null" >
|
|
|
+ VCI_CREATE_USER,
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null" >
|
|
|
+ VCI_CREATE_TIME,
|
|
|
+ </if>
|
|
|
+ <if test="modifyUser != null" >
|
|
|
+ VCI_MODIFY_USER,
|
|
|
+ </if>
|
|
|
+ <if test="modifyTime != null" >
|
|
|
+ VCI_MODIFY_TIME,
|
|
|
+ </if>
|
|
|
+ <if test="exeitState != null" >
|
|
|
+ VCI_EXEIT_STATE,
|
|
|
+ </if>
|
|
|
+ <if test="luck != null" >
|
|
|
+ VCI_LUCK,
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
|
+ <if test="id != null" >
|
|
|
+ #{id,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="channel != null" >
|
|
|
+ #{channel,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="productId != null" >
|
|
|
+ #{productId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="equipmentId != null" >
|
|
|
+ #{equipmentId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="aisle != null" >
|
|
|
+ #{aisle,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="cargoWayRow != null" >
|
|
|
+ #{cargoWayRow,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="cargoWayLine != null" >
|
|
|
+ #{cargoWayLine,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="cargoWayNums != null" >
|
|
|
+ #{cargoWayNums,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="productNums != null" >
|
|
|
+ #{productNums,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="userId != null" >
|
|
|
+ #{userId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="sallPrice != null" >
|
|
|
+ #{sallPrice,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="gamePrice != null" >
|
|
|
+ #{gamePrice,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="costPrice != null" >
|
|
|
+ #{costPrice,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="isPromotion != null" >
|
|
|
+ #{isPromotion,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="promotionPrice != null" >
|
|
|
+ #{promotionPrice,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="gameType != null" >
|
|
|
+ #{gameType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="isFragile != null" >
|
|
|
+ #{isFragile,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="remarks != null" >
|
|
|
+ #{remarks,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createUser != null" >
|
|
|
+ #{createUser,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null" >
|
|
|
+ #{createTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="modifyUser != null" >
|
|
|
+ #{modifyUser,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="modifyTime != null" >
|
|
|
+ #{modifyTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="exeitState != null" >
|
|
|
+ #{exeitState,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="luck != null" >
|
|
|
+ #{luck,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
+ <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" >
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+ <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" >
|
|
|
+ VCI_ID = #{record.id,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.channel != null" >
|
|
|
+ VCI_CHANNEL = #{record.channel,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.productId != null" >
|
|
|
+ VCI_PRODUCT_ID = #{record.productId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.equipmentId != null" >
|
|
|
+ VCI_EQUIPMENT_ID = #{record.equipmentId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.aisle != null" >
|
|
|
+ VCI_AISLE = #{record.aisle,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.cargoWayRow != null" >
|
|
|
+ VCI_CARGO_WAY_ROW = #{record.cargoWayRow,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.cargoWayLine != null" >
|
|
|
+ VCI_CARGO_WAY_LINE = #{record.cargoWayLine,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.cargoWayNums != null" >
|
|
|
+ VCI_CARGO_WAY_NUMS = #{record.cargoWayNums,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.productNums != null" >
|
|
|
+ VCI_PRODUCT_NUMS = #{record.productNums,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.userId != null" >
|
|
|
+ VCI_USER_Id = #{record.userId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.sallPrice != null" >
|
|
|
+ VCI_SALL_PRICE = #{record.sallPrice,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.gamePrice != null" >
|
|
|
+ VCI_GAME_PRICE = #{record.gamePrice,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.costPrice != null" >
|
|
|
+ VCI_COST_PRICE = #{record.costPrice,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.isPromotion != null" >
|
|
|
+ VCI_IS_PROMOTION = #{record.isPromotion,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.promotionPrice != null" >
|
|
|
+ VCI_PROMOTION_PRICE = #{record.promotionPrice,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.gameType != null" >
|
|
|
+ VCI_GAME_TYPE = #{record.gameType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.isFragile != null" >
|
|
|
+ VCI_IS_FRAGILE = #{record.isFragile,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.remarks != null" >
|
|
|
+ VCI_REMARKS = #{record.remarks,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.createUser != null" >
|
|
|
+ VCI_CREATE_USER = #{record.createUser,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.createTime != null" >
|
|
|
+ VCI_CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.modifyUser != null" >
|
|
|
+ VCI_MODIFY_USER = #{record.modifyUser,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.modifyTime != null" >
|
|
|
+ VCI_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.exeitState != null" >
|
|
|
+ VCI_EXEIT_STATE = #{record.exeitState,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.luck != null" >
|
|
|
+ VCI_LUCK = #{record.luck,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ <if test="_parameter != null" >
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <update id="updateByExample" parameterType="map" >
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ update vm_pro_equ_rel
|
|
|
+ set VCI_ID = #{record.id,jdbcType=VARCHAR},
|
|
|
+ VCI_CHANNEL = #{record.channel,jdbcType=VARCHAR},
|
|
|
+ VCI_PRODUCT_ID = #{record.productId,jdbcType=VARCHAR},
|
|
|
+ VCI_EQUIPMENT_ID = #{record.equipmentId,jdbcType=VARCHAR},
|
|
|
+ VCI_AISLE = #{record.aisle,jdbcType=VARCHAR},
|
|
|
+ VCI_CARGO_WAY_ROW = #{record.cargoWayRow,jdbcType=VARCHAR},
|
|
|
+ VCI_CARGO_WAY_LINE = #{record.cargoWayLine,jdbcType=VARCHAR},
|
|
|
+ VCI_CARGO_WAY_NUMS = #{record.cargoWayNums,jdbcType=VARCHAR},
|
|
|
+ VCI_PRODUCT_NUMS = #{record.productNums,jdbcType=VARCHAR},
|
|
|
+ VCI_USER_Id = #{record.userId,jdbcType=VARCHAR},
|
|
|
+ VCI_SALL_PRICE = #{record.sallPrice,jdbcType=VARCHAR},
|
|
|
+ VCI_GAME_PRICE = #{record.gamePrice,jdbcType=VARCHAR},
|
|
|
+ VCI_COST_PRICE = #{record.costPrice,jdbcType=VARCHAR},
|
|
|
+ VCI_IS_PROMOTION = #{record.isPromotion,jdbcType=CHAR},
|
|
|
+ VCI_PROMOTION_PRICE = #{record.promotionPrice,jdbcType=VARCHAR},
|
|
|
+ VCI_GAME_TYPE = #{record.gameType,jdbcType=VARCHAR},
|
|
|
+ VCI_IS_FRAGILE = #{record.isFragile,jdbcType=CHAR},
|
|
|
+ VCI_REMARKS = #{record.remarks,jdbcType=VARCHAR},
|
|
|
+ VCI_CREATE_USER = #{record.createUser,jdbcType=VARCHAR},
|
|
|
+ VCI_CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
|
|
|
+ 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" >
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <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" >
|
|
|
+ VCI_CHANNEL = #{channel,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="productId != null" >
|
|
|
+ VCI_PRODUCT_ID = #{productId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="equipmentId != null" >
|
|
|
+ VCI_EQUIPMENT_ID = #{equipmentId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="aisle != null" >
|
|
|
+ VCI_AISLE = #{aisle,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="cargoWayRow != null" >
|
|
|
+ VCI_CARGO_WAY_ROW = #{cargoWayRow,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="cargoWayLine != null" >
|
|
|
+ VCI_CARGO_WAY_LINE = #{cargoWayLine,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="cargoWayNums != null" >
|
|
|
+ VCI_CARGO_WAY_NUMS = #{cargoWayNums,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="productNums != null" >
|
|
|
+ VCI_PRODUCT_NUMS = #{productNums,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="userId != null" >
|
|
|
+ VCI_USER_Id = #{userId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="sallPrice != null" >
|
|
|
+ VCI_SALL_PRICE = #{sallPrice,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="gamePrice != null" >
|
|
|
+ VCI_GAME_PRICE = #{gamePrice,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="costPrice != null" >
|
|
|
+ VCI_COST_PRICE = #{costPrice,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="isPromotion != null" >
|
|
|
+ VCI_IS_PROMOTION = #{isPromotion,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="promotionPrice != null" >
|
|
|
+ VCI_PROMOTION_PRICE = #{promotionPrice,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="gameType != null" >
|
|
|
+ VCI_GAME_TYPE = #{gameType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="isFragile != null" >
|
|
|
+ VCI_IS_FRAGILE = #{isFragile,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="remarks != null" >
|
|
|
+ VCI_REMARKS = #{remarks,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createUser != null" >
|
|
|
+ VCI_CREATE_USER = #{createUser,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null" >
|
|
|
+ VCI_CREATE_TIME = #{createTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="modifyUser != null" >
|
|
|
+ VCI_MODIFY_USER = #{modifyUser,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="modifyTime != null" >
|
|
|
+ VCI_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="exeitState != null" >
|
|
|
+ VCI_EXEIT_STATE = #{exeitState,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="luck != null" >
|
|
|
+ VCI_LUCK = #{luck,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ where VCI_ID = #{id,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKey" 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 VCI_CHANNEL = #{channel,jdbcType=VARCHAR},
|
|
|
+ VCI_PRODUCT_ID = #{productId,jdbcType=VARCHAR},
|
|
|
+ VCI_EQUIPMENT_ID = #{equipmentId,jdbcType=VARCHAR},
|
|
|
+ VCI_AISLE = #{aisle,jdbcType=VARCHAR},
|
|
|
+ VCI_CARGO_WAY_ROW = #{cargoWayRow,jdbcType=VARCHAR},
|
|
|
+ VCI_CARGO_WAY_LINE = #{cargoWayLine,jdbcType=VARCHAR},
|
|
|
+ VCI_CARGO_WAY_NUMS = #{cargoWayNums,jdbcType=VARCHAR},
|
|
|
+ VCI_PRODUCT_NUMS = #{productNums,jdbcType=VARCHAR},
|
|
|
+ VCI_USER_Id = #{userId,jdbcType=VARCHAR},
|
|
|
+ VCI_SALL_PRICE = #{sallPrice,jdbcType=VARCHAR},
|
|
|
+ VCI_GAME_PRICE = #{gamePrice,jdbcType=VARCHAR},
|
|
|
+ VCI_COST_PRICE = #{costPrice,jdbcType=VARCHAR},
|
|
|
+ VCI_IS_PROMOTION = #{isPromotion,jdbcType=CHAR},
|
|
|
+ VCI_PROMOTION_PRICE = #{promotionPrice,jdbcType=VARCHAR},
|
|
|
+ VCI_GAME_TYPE = #{gameType,jdbcType=VARCHAR},
|
|
|
+ VCI_IS_FRAGILE = #{isFragile,jdbcType=CHAR},
|
|
|
+ VCI_REMARKS = #{remarks,jdbcType=VARCHAR},
|
|
|
+ VCI_CREATE_USER = #{createUser,jdbcType=VARCHAR},
|
|
|
+ VCI_CREATE_TIME = #{createTime,jdbcType=VARCHAR},
|
|
|
+ VCI_MODIFY_USER = #{modifyUser,jdbcType=VARCHAR},
|
|
|
+ VCI_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
|
|
|
+ VCI_EXEIT_STATE = #{exeitState,jdbcType=CHAR},
|
|
|
+ VCI_LUCK = #{luck,jdbcType=VARCHAR}
|
|
|
+ where VCI_ID = #{id,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
+</mapper>
|