|
|
@@ -0,0 +1,509 @@
|
|
|
+<?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.VmDeliveryInfMapper">
|
|
|
+ <resultMap id="BaseResultMap" type="com.minpay.db.table.model.VmDeliveryInf">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ <id column="VDI_DELIVERY_ID" jdbcType="VARCHAR" property="deliveryId" />
|
|
|
+ <result column="VDI_CHANNEL" jdbcType="VARCHAR" property="channel" />
|
|
|
+ <result column="VDI_EQUIPMENT_ID" jdbcType="VARCHAR" property="equipmentId" />
|
|
|
+ <result column="VDI_PERSON_ID" jdbcType="VARCHAR" property="personId" />
|
|
|
+ <result column="VDI_ORD_DET_ID" jdbcType="VARCHAR" property="ordDetId" />
|
|
|
+ <result column="VDI_PRO_TYPE" jdbcType="VARCHAR" property="proType" />
|
|
|
+ <result column="VDI_PRO_NAME" jdbcType="VARCHAR" property="proName" />
|
|
|
+ <result column="VDI_PRO_PRICE" jdbcType="VARCHAR" property="proPrice" />
|
|
|
+ <result column="VDI_PRO_NUMS" jdbcType="VARCHAR" property="proNums" />
|
|
|
+ <result column="VDI_AMOUNT" jdbcType="VARCHAR" property="amount" />
|
|
|
+ <result column="VDI_STATUS" jdbcType="VARCHAR" property="status" />
|
|
|
+ <result column="VDI_CARGO_WAY" jdbcType="VARCHAR" property="cargoWay" />
|
|
|
+ <result column="VDI_DELIVERY_NUMS" jdbcType="VARCHAR" property="deliveryNums" />
|
|
|
+ <result column="VDI_REMARKS" jdbcType="VARCHAR" property="remarks" />
|
|
|
+ <result column="VDI_CREATE_USER" jdbcType="VARCHAR" property="createUser" />
|
|
|
+ <result column="VDI_CREATE_TIME" jdbcType="VARCHAR" property="createTime" />
|
|
|
+ <result column="VDI_MODIFY_USER" jdbcType="VARCHAR" property="modifyUser" />
|
|
|
+ <result column="VDI_MODIFY_TIME" jdbcType="VARCHAR" property="modifyTime" />
|
|
|
+ <result column="VDI_BRANCHID" jdbcType="VARCHAR" property="branchid" />
|
|
|
+ <result column="VDI_PRO_EQU_REL_ID" jdbcType="VARCHAR" property="proEquRelId" />
|
|
|
+ </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.
|
|
|
+ -->
|
|
|
+ VDI_DELIVERY_ID, VDI_CHANNEL, VDI_EQUIPMENT_ID, VDI_PERSON_ID, VDI_ORD_DET_ID, VDI_PRO_TYPE,
|
|
|
+ VDI_PRO_NAME, VDI_PRO_PRICE, VDI_PRO_NUMS, VDI_AMOUNT, VDI_STATUS, VDI_CARGO_WAY,
|
|
|
+ VDI_DELIVERY_NUMS, VDI_REMARKS, VDI_CREATE_USER, VDI_CREATE_TIME, VDI_MODIFY_USER,
|
|
|
+ VDI_MODIFY_TIME, VDI_BRANCHID, VDI_PRO_EQU_REL_ID
|
|
|
+ </sql>
|
|
|
+ <select id="selectByExample" parameterType="com.minpay.db.table.model.VmDeliveryInfExample" 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_delivery_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_delivery_inf
|
|
|
+ where VDI_DELIVERY_ID = #{deliveryId,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_delivery_inf
|
|
|
+ where VDI_DELIVERY_ID = #{deliveryId,jdbcType=VARCHAR}
|
|
|
+ </delete>
|
|
|
+ <delete id="deleteByExample" parameterType="com.minpay.db.table.model.VmDeliveryInfExample">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ delete from vm_delivery_inf
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </delete>
|
|
|
+ <insert id="insert" parameterType="com.minpay.db.table.model.VmDeliveryInf">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ insert into vm_delivery_inf (VDI_DELIVERY_ID, VDI_CHANNEL, VDI_EQUIPMENT_ID,
|
|
|
+ VDI_PERSON_ID, VDI_ORD_DET_ID, VDI_PRO_TYPE,
|
|
|
+ VDI_PRO_NAME, VDI_PRO_PRICE, VDI_PRO_NUMS,
|
|
|
+ VDI_AMOUNT, VDI_STATUS, VDI_CARGO_WAY,
|
|
|
+ VDI_DELIVERY_NUMS, VDI_REMARKS, VDI_CREATE_USER,
|
|
|
+ VDI_CREATE_TIME, VDI_MODIFY_USER, VDI_MODIFY_TIME,
|
|
|
+ VDI_BRANCHID, VDI_PRO_EQU_REL_ID)
|
|
|
+ values (#{deliveryId,jdbcType=VARCHAR}, #{channel,jdbcType=VARCHAR}, #{equipmentId,jdbcType=VARCHAR},
|
|
|
+ #{personId,jdbcType=VARCHAR}, #{ordDetId,jdbcType=VARCHAR}, #{proType,jdbcType=VARCHAR},
|
|
|
+ #{proName,jdbcType=VARCHAR}, #{proPrice,jdbcType=VARCHAR}, #{proNums,jdbcType=VARCHAR},
|
|
|
+ #{amount,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{cargoWay,jdbcType=VARCHAR},
|
|
|
+ #{deliveryNums,jdbcType=VARCHAR}, #{remarks,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR},
|
|
|
+ #{createTime,jdbcType=VARCHAR}, #{modifyUser,jdbcType=VARCHAR}, #{modifyTime,jdbcType=VARCHAR},
|
|
|
+ #{branchid,jdbcType=VARCHAR}, #{proEquRelId,jdbcType=VARCHAR})
|
|
|
+ </insert>
|
|
|
+ <insert id="insertSelective" parameterType="com.minpay.db.table.model.VmDeliveryInf">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ insert into vm_delivery_inf
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="deliveryId != null">
|
|
|
+ VDI_DELIVERY_ID,
|
|
|
+ </if>
|
|
|
+ <if test="channel != null">
|
|
|
+ VDI_CHANNEL,
|
|
|
+ </if>
|
|
|
+ <if test="equipmentId != null">
|
|
|
+ VDI_EQUIPMENT_ID,
|
|
|
+ </if>
|
|
|
+ <if test="personId != null">
|
|
|
+ VDI_PERSON_ID,
|
|
|
+ </if>
|
|
|
+ <if test="ordDetId != null">
|
|
|
+ VDI_ORD_DET_ID,
|
|
|
+ </if>
|
|
|
+ <if test="proType != null">
|
|
|
+ VDI_PRO_TYPE,
|
|
|
+ </if>
|
|
|
+ <if test="proName != null">
|
|
|
+ VDI_PRO_NAME,
|
|
|
+ </if>
|
|
|
+ <if test="proPrice != null">
|
|
|
+ VDI_PRO_PRICE,
|
|
|
+ </if>
|
|
|
+ <if test="proNums != null">
|
|
|
+ VDI_PRO_NUMS,
|
|
|
+ </if>
|
|
|
+ <if test="amount != null">
|
|
|
+ VDI_AMOUNT,
|
|
|
+ </if>
|
|
|
+ <if test="status != null">
|
|
|
+ VDI_STATUS,
|
|
|
+ </if>
|
|
|
+ <if test="cargoWay != null">
|
|
|
+ VDI_CARGO_WAY,
|
|
|
+ </if>
|
|
|
+ <if test="deliveryNums != null">
|
|
|
+ VDI_DELIVERY_NUMS,
|
|
|
+ </if>
|
|
|
+ <if test="remarks != null">
|
|
|
+ VDI_REMARKS,
|
|
|
+ </if>
|
|
|
+ <if test="createUser != null">
|
|
|
+ VDI_CREATE_USER,
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ VDI_CREATE_TIME,
|
|
|
+ </if>
|
|
|
+ <if test="modifyUser != null">
|
|
|
+ VDI_MODIFY_USER,
|
|
|
+ </if>
|
|
|
+ <if test="modifyTime != null">
|
|
|
+ VDI_MODIFY_TIME,
|
|
|
+ </if>
|
|
|
+ <if test="branchid != null">
|
|
|
+ VDI_BRANCHID,
|
|
|
+ </if>
|
|
|
+ <if test="proEquRelId != null">
|
|
|
+ VDI_PRO_EQU_REL_ID,
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="deliveryId != null">
|
|
|
+ #{deliveryId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="channel != null">
|
|
|
+ #{channel,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="equipmentId != null">
|
|
|
+ #{equipmentId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="personId != null">
|
|
|
+ #{personId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="ordDetId != null">
|
|
|
+ #{ordDetId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="proType != null">
|
|
|
+ #{proType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="proName != null">
|
|
|
+ #{proName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="proPrice != null">
|
|
|
+ #{proPrice,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="proNums != null">
|
|
|
+ #{proNums,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="amount != null">
|
|
|
+ #{amount,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="status != null">
|
|
|
+ #{status,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="cargoWay != null">
|
|
|
+ #{cargoWay,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="deliveryNums != null">
|
|
|
+ #{deliveryNums,jdbcType=VARCHAR},
|
|
|
+ </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="branchid != null">
|
|
|
+ #{branchid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="proEquRelId != null">
|
|
|
+ #{proEquRelId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
+ <select id="countByExample" parameterType="com.minpay.db.table.model.VmDeliveryInfExample" resultType="java.lang.Integer">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ select count(*) from vm_delivery_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_delivery_inf
|
|
|
+ <set>
|
|
|
+ <if test="record.deliveryId != null">
|
|
|
+ VDI_DELIVERY_ID = #{record.deliveryId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.channel != null">
|
|
|
+ VDI_CHANNEL = #{record.channel,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.equipmentId != null">
|
|
|
+ VDI_EQUIPMENT_ID = #{record.equipmentId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.personId != null">
|
|
|
+ VDI_PERSON_ID = #{record.personId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.ordDetId != null">
|
|
|
+ VDI_ORD_DET_ID = #{record.ordDetId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.proType != null">
|
|
|
+ VDI_PRO_TYPE = #{record.proType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.proName != null">
|
|
|
+ VDI_PRO_NAME = #{record.proName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.proPrice != null">
|
|
|
+ VDI_PRO_PRICE = #{record.proPrice,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.proNums != null">
|
|
|
+ VDI_PRO_NUMS = #{record.proNums,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.amount != null">
|
|
|
+ VDI_AMOUNT = #{record.amount,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.status != null">
|
|
|
+ VDI_STATUS = #{record.status,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.cargoWay != null">
|
|
|
+ VDI_CARGO_WAY = #{record.cargoWay,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.deliveryNums != null">
|
|
|
+ VDI_DELIVERY_NUMS = #{record.deliveryNums,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.remarks != null">
|
|
|
+ VDI_REMARKS = #{record.remarks,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.createUser != null">
|
|
|
+ VDI_CREATE_USER = #{record.createUser,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.createTime != null">
|
|
|
+ VDI_CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.modifyUser != null">
|
|
|
+ VDI_MODIFY_USER = #{record.modifyUser,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.modifyTime != null">
|
|
|
+ VDI_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.branchid != null">
|
|
|
+ VDI_BRANCHID = #{record.branchid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.proEquRelId != null">
|
|
|
+ VDI_PRO_EQU_REL_ID = #{record.proEquRelId,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_delivery_inf
|
|
|
+ set VDI_DELIVERY_ID = #{record.deliveryId,jdbcType=VARCHAR},
|
|
|
+ VDI_CHANNEL = #{record.channel,jdbcType=VARCHAR},
|
|
|
+ VDI_EQUIPMENT_ID = #{record.equipmentId,jdbcType=VARCHAR},
|
|
|
+ VDI_PERSON_ID = #{record.personId,jdbcType=VARCHAR},
|
|
|
+ VDI_ORD_DET_ID = #{record.ordDetId,jdbcType=VARCHAR},
|
|
|
+ VDI_PRO_TYPE = #{record.proType,jdbcType=VARCHAR},
|
|
|
+ VDI_PRO_NAME = #{record.proName,jdbcType=VARCHAR},
|
|
|
+ VDI_PRO_PRICE = #{record.proPrice,jdbcType=VARCHAR},
|
|
|
+ VDI_PRO_NUMS = #{record.proNums,jdbcType=VARCHAR},
|
|
|
+ VDI_AMOUNT = #{record.amount,jdbcType=VARCHAR},
|
|
|
+ VDI_STATUS = #{record.status,jdbcType=VARCHAR},
|
|
|
+ VDI_CARGO_WAY = #{record.cargoWay,jdbcType=VARCHAR},
|
|
|
+ VDI_DELIVERY_NUMS = #{record.deliveryNums,jdbcType=VARCHAR},
|
|
|
+ VDI_REMARKS = #{record.remarks,jdbcType=VARCHAR},
|
|
|
+ VDI_CREATE_USER = #{record.createUser,jdbcType=VARCHAR},
|
|
|
+ VDI_CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
|
|
|
+ VDI_MODIFY_USER = #{record.modifyUser,jdbcType=VARCHAR},
|
|
|
+ VDI_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR},
|
|
|
+ VDI_BRANCHID = #{record.branchid,jdbcType=VARCHAR},
|
|
|
+ VDI_PRO_EQU_REL_ID = #{record.proEquRelId,jdbcType=VARCHAR}
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.minpay.db.table.model.VmDeliveryInf">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ update vm_delivery_inf
|
|
|
+ <set>
|
|
|
+ <if test="channel != null">
|
|
|
+ VDI_CHANNEL = #{channel,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="equipmentId != null">
|
|
|
+ VDI_EQUIPMENT_ID = #{equipmentId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="personId != null">
|
|
|
+ VDI_PERSON_ID = #{personId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="ordDetId != null">
|
|
|
+ VDI_ORD_DET_ID = #{ordDetId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="proType != null">
|
|
|
+ VDI_PRO_TYPE = #{proType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="proName != null">
|
|
|
+ VDI_PRO_NAME = #{proName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="proPrice != null">
|
|
|
+ VDI_PRO_PRICE = #{proPrice,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="proNums != null">
|
|
|
+ VDI_PRO_NUMS = #{proNums,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="amount != null">
|
|
|
+ VDI_AMOUNT = #{amount,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="status != null">
|
|
|
+ VDI_STATUS = #{status,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="cargoWay != null">
|
|
|
+ VDI_CARGO_WAY = #{cargoWay,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="deliveryNums != null">
|
|
|
+ VDI_DELIVERY_NUMS = #{deliveryNums,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="remarks != null">
|
|
|
+ VDI_REMARKS = #{remarks,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createUser != null">
|
|
|
+ VDI_CREATE_USER = #{createUser,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ VDI_CREATE_TIME = #{createTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="modifyUser != null">
|
|
|
+ VDI_MODIFY_USER = #{modifyUser,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="modifyTime != null">
|
|
|
+ VDI_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="branchid != null">
|
|
|
+ VDI_BRANCHID = #{branchid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="proEquRelId != null">
|
|
|
+ VDI_PRO_EQU_REL_ID = #{proEquRelId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ where VDI_DELIVERY_ID = #{deliveryId,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.minpay.db.table.model.VmDeliveryInf">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbggenerated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ -->
|
|
|
+ update vm_delivery_inf
|
|
|
+ set VDI_CHANNEL = #{channel,jdbcType=VARCHAR},
|
|
|
+ VDI_EQUIPMENT_ID = #{equipmentId,jdbcType=VARCHAR},
|
|
|
+ VDI_PERSON_ID = #{personId,jdbcType=VARCHAR},
|
|
|
+ VDI_ORD_DET_ID = #{ordDetId,jdbcType=VARCHAR},
|
|
|
+ VDI_PRO_TYPE = #{proType,jdbcType=VARCHAR},
|
|
|
+ VDI_PRO_NAME = #{proName,jdbcType=VARCHAR},
|
|
|
+ VDI_PRO_PRICE = #{proPrice,jdbcType=VARCHAR},
|
|
|
+ VDI_PRO_NUMS = #{proNums,jdbcType=VARCHAR},
|
|
|
+ VDI_AMOUNT = #{amount,jdbcType=VARCHAR},
|
|
|
+ VDI_STATUS = #{status,jdbcType=VARCHAR},
|
|
|
+ VDI_CARGO_WAY = #{cargoWay,jdbcType=VARCHAR},
|
|
|
+ VDI_DELIVERY_NUMS = #{deliveryNums,jdbcType=VARCHAR},
|
|
|
+ VDI_REMARKS = #{remarks,jdbcType=VARCHAR},
|
|
|
+ VDI_CREATE_USER = #{createUser,jdbcType=VARCHAR},
|
|
|
+ VDI_CREATE_TIME = #{createTime,jdbcType=VARCHAR},
|
|
|
+ VDI_MODIFY_USER = #{modifyUser,jdbcType=VARCHAR},
|
|
|
+ VDI_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
|
|
|
+ VDI_BRANCHID = #{branchid,jdbcType=VARCHAR},
|
|
|
+ VDI_PRO_EQU_REL_ID = #{proEquRelId,jdbcType=VARCHAR}
|
|
|
+ where VDI_DELIVERY_ID = #{deliveryId,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
+</mapper>
|