|
|
@@ -0,0 +1,604 @@
|
|
|
+<?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" jdbcType="VARCHAR" property="id" />
|
|
|
+ <result column="VOI_CHANNEL" jdbcType="VARCHAR" property="channel" />
|
|
|
+ <result column="VOI_PERSON_ID" jdbcType="VARCHAR" property="personId" />
|
|
|
+ <result column="VOI_EQUIPMENT_ID" jdbcType="VARCHAR" property="equipmentId" />
|
|
|
+ <result column="VOI_ORDER_AMT" jdbcType="VARCHAR" property="orderAmt" />
|
|
|
+ <result column="VOI_STATE" jdbcType="VARCHAR" property="state" />
|
|
|
+ <result column="VOI_RECORD_ID" jdbcType="VARCHAR" property="recordId" />
|
|
|
+ <result column="VOI_PAY_ORDERNO" jdbcType="VARCHAR" property="payOrderno" />
|
|
|
+ <result column="VOI_REMARKS" jdbcType="VARCHAR" property="remarks" />
|
|
|
+ <result column="VOI_PAY_TYPE" jdbcType="VARCHAR" property="payType" />
|
|
|
+ <result column="VOI_NUMBER" jdbcType="VARCHAR" property="number" />
|
|
|
+ <result column="VOI_PRO_TYPE" jdbcType="VARCHAR" property="proType" />
|
|
|
+ <result column="VOI_IS_DRAW" jdbcType="VARCHAR" property="isDraw" />
|
|
|
+ <result column="VOI_IS_USED" jdbcType="VARCHAR" property="isUsed" />
|
|
|
+ <result column="VOI_PRO_STATE" jdbcType="VARCHAR" property="proState" />
|
|
|
+ <result column="VOI_DRAW_PRICE" jdbcType="VARCHAR" property="drawPrice" />
|
|
|
+ <result column="VOI_CREATE_USER" jdbcType="VARCHAR" property="createUser" />
|
|
|
+ <result column="VOI_CREATE_TIME" jdbcType="VARCHAR" property="createTime" />
|
|
|
+ <result column="VOI_MODIFY_USER" jdbcType="VARCHAR" property="modifyUser" />
|
|
|
+ <result column="VOI_MODIFY_TIME" jdbcType="VARCHAR" property="modifyTime" />
|
|
|
+ <result column="VOI_PICKUP_NO" jdbcType="VARCHAR" property="pickupNo" />
|
|
|
+ <result column="VOI_PICKUP_STT" jdbcType="VARCHAR" property="pickupStt" />
|
|
|
+ <result column="VOI_PICKUP_TIME" jdbcType="VARCHAR" property="pickupTime" />
|
|
|
+ <result column="VOI_BRANCHID" jdbcType="VARCHAR" property="branchid" />
|
|
|
+ <result column="VOI_PAY_MODE" jdbcType="VARCHAR" property="payMode" />
|
|
|
+ <result column="VOI_OPERATION" jdbcType="VARCHAR" property="operation" />
|
|
|
+ </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="(" prefixOverrides="and" suffix=")">
|
|
|
+ <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 close=")" collection="criterion.value" item="listItem" open="(" 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="(" prefixOverrides="and" suffix=")">
|
|
|
+ <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 close=")" collection="criterion.value" item="listItem" open="(" 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_OPERATION
|
|
|
+ </sql>
|
|
|
+ <select id="selectByExample" parameterType="com.minpay.db.table.model.VmOrderInfExample" resultMap="BaseResultMap">
|
|
|
+ <!--
|
|
|
+ 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" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
|
+ <!--
|
|
|
+ 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_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}, #{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="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="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.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_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="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_OPERATION = #{operation,jdbcType=VARCHAR}
|
|
|
+ where VOI_ID = #{id,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
+</mapper>
|