|
@@ -0,0 +1,651 @@
|
|
|
+<?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.VmOrderInfMapper" >
|
|
|
+ <resultMap id="BaseResultMap" type="com.minpay.db.table.model.VmOrderInf" >
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ <id column="VOI_ID" property="id" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_CHANNEL" property="channel" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_PERSON_ID" property="personId" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_EQUIPMENT_ID" property="equipmentId" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_ORDER_AMT" property="orderAmt" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_STATE" property="state" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_RECORD_ID" property="recordId" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_PAY_ORDERNO" property="payOrderno" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_REMARKS" property="remarks" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_PAY_TYPE" property="payType" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_NUMBER" property="number" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_PRO_TYPE" property="proType" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_IS_DRAW" property="isDraw" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_IS_USED" property="isUsed" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_PRO_STATE" property="proState" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_DRAW_PRICE" property="drawPrice" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_CREATE_USER" property="createUser" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_CREATE_TIME" property="createTime" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_MODIFY_USER" property="modifyUser" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_MODIFY_TIME" property="modifyTime" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_PICKUP_NO" property="pickupNo" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_PICKUP_STT" property="pickupStt" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_PICKUP_TIME" property="pickupTime" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_BRANCHID" property="branchid" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_PAY_MODE" property="payMode" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_PRODUCT_NAME" property="productName" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_PRODUCT_ID" property="productId" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_EQUREL_ID" property="equrelId" jdbcType="VARCHAR" />
|
|
|
+ <result column="VOI_OPERATION" property="operation" 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.
|
|
|
+ -->
|
|
|
+ VOI_ID, VOI_CHANNEL, VOI_PERSON_ID, VOI_EQUIPMENT_ID, VOI_ORDER_AMT, VOI_STATE, VOI_RECORD_ID,
|
|
|
+ VOI_PAY_ORDERNO, VOI_REMARKS, VOI_PAY_TYPE, VOI_NUMBER, VOI_PRO_TYPE, VOI_IS_DRAW,
|
|
|
+ VOI_IS_USED, VOI_PRO_STATE, VOI_DRAW_PRICE, VOI_CREATE_USER, VOI_CREATE_TIME, VOI_MODIFY_USER,
|
|
|
+ VOI_MODIFY_TIME, VOI_PICKUP_NO, VOI_PICKUP_STT, VOI_PICKUP_TIME, VOI_BRANCHID, VOI_PAY_MODE,
|
|
|
+ VOI_PRODUCT_NAME, VOI_PRODUCT_ID, VOI_EQUREL_ID, VOI_OPERATION
|
|
|
+ </sql>
|
|
|
+ <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.minpay.db.table.model.VmOrderInfExample" >
|
|
|
+ <!--
|
|
|
+ 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_order_inf
|
|
|
+ <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_order_inf
|
|
|
+ where VOI_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_order_inf
|
|
|
+ where VOI_ID = #{id,jdbcType=VARCHAR}
|
|
|
+ </delete>
|
|
|
+ <delete id="deleteByExample" parameterType="com.minpay.db.table.model.VmOrderInfExample" >
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ delete from vm_order_inf
|
|
|
+ <if test="_parameter != null" >
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </delete>
|
|
|
+ <insert id="insert" parameterType="com.minpay.db.table.model.VmOrderInf" >
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ insert into vm_order_inf (VOI_ID, VOI_CHANNEL, VOI_PERSON_ID,
|
|
|
+ VOI_EQUIPMENT_ID, VOI_ORDER_AMT, VOI_STATE,
|
|
|
+ VOI_RECORD_ID, VOI_PAY_ORDERNO, VOI_REMARKS,
|
|
|
+ VOI_PAY_TYPE, VOI_NUMBER, VOI_PRO_TYPE,
|
|
|
+ VOI_IS_DRAW, VOI_IS_USED, VOI_PRO_STATE,
|
|
|
+ VOI_DRAW_PRICE, VOI_CREATE_USER, VOI_CREATE_TIME,
|
|
|
+ VOI_MODIFY_USER, VOI_MODIFY_TIME, VOI_PICKUP_NO,
|
|
|
+ VOI_PICKUP_STT, VOI_PICKUP_TIME, VOI_BRANCHID,
|
|
|
+ VOI_PAY_MODE, VOI_PRODUCT_NAME, VOI_PRODUCT_ID,
|
|
|
+ VOI_EQUREL_ID, VOI_OPERATION)
|
|
|
+ values (#{id,jdbcType=VARCHAR}, #{channel,jdbcType=VARCHAR}, #{personId,jdbcType=VARCHAR},
|
|
|
+ #{equipmentId,jdbcType=VARCHAR}, #{orderAmt,jdbcType=VARCHAR}, #{state,jdbcType=VARCHAR},
|
|
|
+ #{recordId,jdbcType=VARCHAR}, #{payOrderno,jdbcType=VARCHAR}, #{remarks,jdbcType=VARCHAR},
|
|
|
+ #{payType,jdbcType=VARCHAR}, #{number,jdbcType=VARCHAR}, #{proType,jdbcType=VARCHAR},
|
|
|
+ #{isDraw,jdbcType=VARCHAR}, #{isUsed,jdbcType=VARCHAR}, #{proState,jdbcType=VARCHAR},
|
|
|
+ #{drawPrice,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR},
|
|
|
+ #{modifyUser,jdbcType=VARCHAR}, #{modifyTime,jdbcType=VARCHAR}, #{pickupNo,jdbcType=VARCHAR},
|
|
|
+ #{pickupStt,jdbcType=VARCHAR}, #{pickupTime,jdbcType=VARCHAR}, #{branchid,jdbcType=VARCHAR},
|
|
|
+ #{payMode,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, #{productId,jdbcType=VARCHAR},
|
|
|
+ #{equrelId,jdbcType=VARCHAR}, #{operation,jdbcType=VARCHAR})
|
|
|
+ </insert>
|
|
|
+ <insert id="insertSelective" parameterType="com.minpay.db.table.model.VmOrderInf" >
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ insert into vm_order_inf
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides="," >
|
|
|
+ <if test="id != null" >
|
|
|
+ VOI_ID,
|
|
|
+ </if>
|
|
|
+ <if test="channel != null" >
|
|
|
+ VOI_CHANNEL,
|
|
|
+ </if>
|
|
|
+ <if test="personId != null" >
|
|
|
+ VOI_PERSON_ID,
|
|
|
+ </if>
|
|
|
+ <if test="equipmentId != null" >
|
|
|
+ VOI_EQUIPMENT_ID,
|
|
|
+ </if>
|
|
|
+ <if test="orderAmt != null" >
|
|
|
+ VOI_ORDER_AMT,
|
|
|
+ </if>
|
|
|
+ <if test="state != null" >
|
|
|
+ VOI_STATE,
|
|
|
+ </if>
|
|
|
+ <if test="recordId != null" >
|
|
|
+ VOI_RECORD_ID,
|
|
|
+ </if>
|
|
|
+ <if test="payOrderno != null" >
|
|
|
+ VOI_PAY_ORDERNO,
|
|
|
+ </if>
|
|
|
+ <if test="remarks != null" >
|
|
|
+ VOI_REMARKS,
|
|
|
+ </if>
|
|
|
+ <if test="payType != null" >
|
|
|
+ VOI_PAY_TYPE,
|
|
|
+ </if>
|
|
|
+ <if test="number != null" >
|
|
|
+ VOI_NUMBER,
|
|
|
+ </if>
|
|
|
+ <if test="proType != null" >
|
|
|
+ VOI_PRO_TYPE,
|
|
|
+ </if>
|
|
|
+ <if test="isDraw != null" >
|
|
|
+ VOI_IS_DRAW,
|
|
|
+ </if>
|
|
|
+ <if test="isUsed != null" >
|
|
|
+ VOI_IS_USED,
|
|
|
+ </if>
|
|
|
+ <if test="proState != null" >
|
|
|
+ VOI_PRO_STATE,
|
|
|
+ </if>
|
|
|
+ <if test="drawPrice != null" >
|
|
|
+ VOI_DRAW_PRICE,
|
|
|
+ </if>
|
|
|
+ <if test="createUser != null" >
|
|
|
+ VOI_CREATE_USER,
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null" >
|
|
|
+ VOI_CREATE_TIME,
|
|
|
+ </if>
|
|
|
+ <if test="modifyUser != null" >
|
|
|
+ VOI_MODIFY_USER,
|
|
|
+ </if>
|
|
|
+ <if test="modifyTime != null" >
|
|
|
+ VOI_MODIFY_TIME,
|
|
|
+ </if>
|
|
|
+ <if test="pickupNo != null" >
|
|
|
+ VOI_PICKUP_NO,
|
|
|
+ </if>
|
|
|
+ <if test="pickupStt != null" >
|
|
|
+ VOI_PICKUP_STT,
|
|
|
+ </if>
|
|
|
+ <if test="pickupTime != null" >
|
|
|
+ VOI_PICKUP_TIME,
|
|
|
+ </if>
|
|
|
+ <if test="branchid != null" >
|
|
|
+ VOI_BRANCHID,
|
|
|
+ </if>
|
|
|
+ <if test="payMode != null" >
|
|
|
+ VOI_PAY_MODE,
|
|
|
+ </if>
|
|
|
+ <if test="productName != null" >
|
|
|
+ VOI_PRODUCT_NAME,
|
|
|
+ </if>
|
|
|
+ <if test="productId != null" >
|
|
|
+ VOI_PRODUCT_ID,
|
|
|
+ </if>
|
|
|
+ <if test="equrelId != null" >
|
|
|
+ VOI_EQUREL_ID,
|
|
|
+ </if>
|
|
|
+ <if test="operation != null" >
|
|
|
+ VOI_OPERATION,
|
|
|
+ </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="personId != null" >
|
|
|
+ #{personId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="equipmentId != null" >
|
|
|
+ #{equipmentId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="orderAmt != null" >
|
|
|
+ #{orderAmt,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="state != null" >
|
|
|
+ #{state,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="recordId != null" >
|
|
|
+ #{recordId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="payOrderno != null" >
|
|
|
+ #{payOrderno,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="remarks != null" >
|
|
|
+ #{remarks,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="payType != null" >
|
|
|
+ #{payType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="number != null" >
|
|
|
+ #{number,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="proType != null" >
|
|
|
+ #{proType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="isDraw != null" >
|
|
|
+ #{isDraw,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="isUsed != null" >
|
|
|
+ #{isUsed,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="proState != null" >
|
|
|
+ #{proState,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="drawPrice != null" >
|
|
|
+ #{drawPrice,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="pickupNo != null" >
|
|
|
+ #{pickupNo,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="pickupStt != null" >
|
|
|
+ #{pickupStt,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="pickupTime != null" >
|
|
|
+ #{pickupTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="branchid != null" >
|
|
|
+ #{branchid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="payMode != null" >
|
|
|
+ #{payMode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="productName != null" >
|
|
|
+ #{productName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="productId != null" >
|
|
|
+ #{productId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="equrelId != null" >
|
|
|
+ #{equrelId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="operation != null" >
|
|
|
+ #{operation,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
+ <select id="countByExample" parameterType="com.minpay.db.table.model.VmOrderInfExample" resultType="java.lang.Integer" >
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ select count(*) from vm_order_inf
|
|
|
+ <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_order_inf
|
|
|
+ <set >
|
|
|
+ <if test="record.id != null" >
|
|
|
+ VOI_ID = #{record.id,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.channel != null" >
|
|
|
+ VOI_CHANNEL = #{record.channel,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.personId != null" >
|
|
|
+ VOI_PERSON_ID = #{record.personId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.equipmentId != null" >
|
|
|
+ VOI_EQUIPMENT_ID = #{record.equipmentId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.orderAmt != null" >
|
|
|
+ VOI_ORDER_AMT = #{record.orderAmt,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.state != null" >
|
|
|
+ VOI_STATE = #{record.state,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.recordId != null" >
|
|
|
+ VOI_RECORD_ID = #{record.recordId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.payOrderno != null" >
|
|
|
+ VOI_PAY_ORDERNO = #{record.payOrderno,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.remarks != null" >
|
|
|
+ VOI_REMARKS = #{record.remarks,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.payType != null" >
|
|
|
+ VOI_PAY_TYPE = #{record.payType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.number != null" >
|
|
|
+ VOI_NUMBER = #{record.number,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.proType != null" >
|
|
|
+ VOI_PRO_TYPE = #{record.proType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.isDraw != null" >
|
|
|
+ VOI_IS_DRAW = #{record.isDraw,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.isUsed != null" >
|
|
|
+ VOI_IS_USED = #{record.isUsed,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.proState != null" >
|
|
|
+ VOI_PRO_STATE = #{record.proState,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.drawPrice != null" >
|
|
|
+ VOI_DRAW_PRICE = #{record.drawPrice,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.createUser != null" >
|
|
|
+ VOI_CREATE_USER = #{record.createUser,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.createTime != null" >
|
|
|
+ VOI_CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.modifyUser != null" >
|
|
|
+ VOI_MODIFY_USER = #{record.modifyUser,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.modifyTime != null" >
|
|
|
+ VOI_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.pickupNo != null" >
|
|
|
+ VOI_PICKUP_NO = #{record.pickupNo,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.pickupStt != null" >
|
|
|
+ VOI_PICKUP_STT = #{record.pickupStt,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.pickupTime != null" >
|
|
|
+ VOI_PICKUP_TIME = #{record.pickupTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.branchid != null" >
|
|
|
+ VOI_BRANCHID = #{record.branchid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.payMode != null" >
|
|
|
+ VOI_PAY_MODE = #{record.payMode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.productName != null" >
|
|
|
+ VOI_PRODUCT_NAME = #{record.productName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.productId != null" >
|
|
|
+ VOI_PRODUCT_ID = #{record.productId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.equrelId != null" >
|
|
|
+ VOI_EQUREL_ID = #{record.equrelId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.operation != null" >
|
|
|
+ VOI_OPERATION = #{record.operation,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_order_inf
|
|
|
+ set VOI_ID = #{record.id,jdbcType=VARCHAR},
|
|
|
+ VOI_CHANNEL = #{record.channel,jdbcType=VARCHAR},
|
|
|
+ VOI_PERSON_ID = #{record.personId,jdbcType=VARCHAR},
|
|
|
+ VOI_EQUIPMENT_ID = #{record.equipmentId,jdbcType=VARCHAR},
|
|
|
+ VOI_ORDER_AMT = #{record.orderAmt,jdbcType=VARCHAR},
|
|
|
+ VOI_STATE = #{record.state,jdbcType=VARCHAR},
|
|
|
+ VOI_RECORD_ID = #{record.recordId,jdbcType=VARCHAR},
|
|
|
+ VOI_PAY_ORDERNO = #{record.payOrderno,jdbcType=VARCHAR},
|
|
|
+ VOI_REMARKS = #{record.remarks,jdbcType=VARCHAR},
|
|
|
+ VOI_PAY_TYPE = #{record.payType,jdbcType=VARCHAR},
|
|
|
+ VOI_NUMBER = #{record.number,jdbcType=VARCHAR},
|
|
|
+ VOI_PRO_TYPE = #{record.proType,jdbcType=VARCHAR},
|
|
|
+ VOI_IS_DRAW = #{record.isDraw,jdbcType=VARCHAR},
|
|
|
+ VOI_IS_USED = #{record.isUsed,jdbcType=VARCHAR},
|
|
|
+ VOI_PRO_STATE = #{record.proState,jdbcType=VARCHAR},
|
|
|
+ VOI_DRAW_PRICE = #{record.drawPrice,jdbcType=VARCHAR},
|
|
|
+ VOI_CREATE_USER = #{record.createUser,jdbcType=VARCHAR},
|
|
|
+ VOI_CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
|
|
|
+ VOI_MODIFY_USER = #{record.modifyUser,jdbcType=VARCHAR},
|
|
|
+ VOI_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR},
|
|
|
+ VOI_PICKUP_NO = #{record.pickupNo,jdbcType=VARCHAR},
|
|
|
+ VOI_PICKUP_STT = #{record.pickupStt,jdbcType=VARCHAR},
|
|
|
+ VOI_PICKUP_TIME = #{record.pickupTime,jdbcType=VARCHAR},
|
|
|
+ VOI_BRANCHID = #{record.branchid,jdbcType=VARCHAR},
|
|
|
+ VOI_PAY_MODE = #{record.payMode,jdbcType=VARCHAR},
|
|
|
+ VOI_PRODUCT_NAME = #{record.productName,jdbcType=VARCHAR},
|
|
|
+ VOI_PRODUCT_ID = #{record.productId,jdbcType=VARCHAR},
|
|
|
+ VOI_EQUREL_ID = #{record.equrelId,jdbcType=VARCHAR},
|
|
|
+ VOI_OPERATION = #{record.operation,jdbcType=VARCHAR}
|
|
|
+ <if test="_parameter != null" >
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.minpay.db.table.model.VmOrderInf" >
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ update vm_order_inf
|
|
|
+ <set >
|
|
|
+ <if test="channel != null" >
|
|
|
+ VOI_CHANNEL = #{channel,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="personId != null" >
|
|
|
+ VOI_PERSON_ID = #{personId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="equipmentId != null" >
|
|
|
+ VOI_EQUIPMENT_ID = #{equipmentId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="orderAmt != null" >
|
|
|
+ VOI_ORDER_AMT = #{orderAmt,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="state != null" >
|
|
|
+ VOI_STATE = #{state,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="recordId != null" >
|
|
|
+ VOI_RECORD_ID = #{recordId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="payOrderno != null" >
|
|
|
+ VOI_PAY_ORDERNO = #{payOrderno,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="remarks != null" >
|
|
|
+ VOI_REMARKS = #{remarks,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="payType != null" >
|
|
|
+ VOI_PAY_TYPE = #{payType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="number != null" >
|
|
|
+ VOI_NUMBER = #{number,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="proType != null" >
|
|
|
+ VOI_PRO_TYPE = #{proType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="isDraw != null" >
|
|
|
+ VOI_IS_DRAW = #{isDraw,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="isUsed != null" >
|
|
|
+ VOI_IS_USED = #{isUsed,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="proState != null" >
|
|
|
+ VOI_PRO_STATE = #{proState,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="drawPrice != null" >
|
|
|
+ VOI_DRAW_PRICE = #{drawPrice,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createUser != null" >
|
|
|
+ VOI_CREATE_USER = #{createUser,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null" >
|
|
|
+ VOI_CREATE_TIME = #{createTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="modifyUser != null" >
|
|
|
+ VOI_MODIFY_USER = #{modifyUser,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="modifyTime != null" >
|
|
|
+ VOI_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="pickupNo != null" >
|
|
|
+ VOI_PICKUP_NO = #{pickupNo,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="pickupStt != null" >
|
|
|
+ VOI_PICKUP_STT = #{pickupStt,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="pickupTime != null" >
|
|
|
+ VOI_PICKUP_TIME = #{pickupTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="branchid != null" >
|
|
|
+ VOI_BRANCHID = #{branchid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="payMode != null" >
|
|
|
+ VOI_PAY_MODE = #{payMode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="productName != null" >
|
|
|
+ VOI_PRODUCT_NAME = #{productName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="productId != null" >
|
|
|
+ VOI_PRODUCT_ID = #{productId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="equrelId != null" >
|
|
|
+ VOI_EQUREL_ID = #{equrelId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="operation != null" >
|
|
|
+ VOI_OPERATION = #{operation,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ where VOI_ID = #{id,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.minpay.db.table.model.VmOrderInf" >
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ update vm_order_inf
|
|
|
+ set VOI_CHANNEL = #{channel,jdbcType=VARCHAR},
|
|
|
+ VOI_PERSON_ID = #{personId,jdbcType=VARCHAR},
|
|
|
+ VOI_EQUIPMENT_ID = #{equipmentId,jdbcType=VARCHAR},
|
|
|
+ VOI_ORDER_AMT = #{orderAmt,jdbcType=VARCHAR},
|
|
|
+ VOI_STATE = #{state,jdbcType=VARCHAR},
|
|
|
+ VOI_RECORD_ID = #{recordId,jdbcType=VARCHAR},
|
|
|
+ VOI_PAY_ORDERNO = #{payOrderno,jdbcType=VARCHAR},
|
|
|
+ VOI_REMARKS = #{remarks,jdbcType=VARCHAR},
|
|
|
+ VOI_PAY_TYPE = #{payType,jdbcType=VARCHAR},
|
|
|
+ VOI_NUMBER = #{number,jdbcType=VARCHAR},
|
|
|
+ VOI_PRO_TYPE = #{proType,jdbcType=VARCHAR},
|
|
|
+ VOI_IS_DRAW = #{isDraw,jdbcType=VARCHAR},
|
|
|
+ VOI_IS_USED = #{isUsed,jdbcType=VARCHAR},
|
|
|
+ VOI_PRO_STATE = #{proState,jdbcType=VARCHAR},
|
|
|
+ VOI_DRAW_PRICE = #{drawPrice,jdbcType=VARCHAR},
|
|
|
+ VOI_CREATE_USER = #{createUser,jdbcType=VARCHAR},
|
|
|
+ VOI_CREATE_TIME = #{createTime,jdbcType=VARCHAR},
|
|
|
+ VOI_MODIFY_USER = #{modifyUser,jdbcType=VARCHAR},
|
|
|
+ VOI_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
|
|
|
+ VOI_PICKUP_NO = #{pickupNo,jdbcType=VARCHAR},
|
|
|
+ VOI_PICKUP_STT = #{pickupStt,jdbcType=VARCHAR},
|
|
|
+ VOI_PICKUP_TIME = #{pickupTime,jdbcType=VARCHAR},
|
|
|
+ VOI_BRANCHID = #{branchid,jdbcType=VARCHAR},
|
|
|
+ VOI_PAY_MODE = #{payMode,jdbcType=VARCHAR},
|
|
|
+ VOI_PRODUCT_NAME = #{productName,jdbcType=VARCHAR},
|
|
|
+ VOI_PRODUCT_ID = #{productId,jdbcType=VARCHAR},
|
|
|
+ VOI_EQUREL_ID = #{equrelId,jdbcType=VARCHAR},
|
|
|
+ VOI_OPERATION = #{operation,jdbcType=VARCHAR}
|
|
|
+ where VOI_ID = #{id,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
+</mapper>
|