|
|
@@ -25,6 +25,7 @@
|
|
|
<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">
|
|
|
<!--
|
|
|
@@ -100,7 +101,7 @@
|
|
|
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_MODIFY_TIME, VDI_BRANCHID, VDI_PRO_EQU_REL_ID
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.minpay.db.table.model.VmDeliveryInfExample" resultMap="BaseResultMap">
|
|
|
<!--
|
|
|
@@ -159,14 +160,14 @@
|
|
|
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_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})
|
|
|
+ #{branchid,jdbcType=VARCHAR}, #{proEquRelId,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.minpay.db.table.model.VmDeliveryInf">
|
|
|
<!--
|
|
|
@@ -232,6 +233,9 @@
|
|
|
<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">
|
|
|
@@ -291,6 +295,9 @@
|
|
|
<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">
|
|
|
@@ -367,6 +374,9 @@
|
|
|
<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" />
|
|
|
@@ -396,7 +406,8 @@
|
|
|
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_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>
|
|
|
@@ -462,6 +473,9 @@
|
|
|
<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>
|
|
|
@@ -488,7 +502,8 @@
|
|
|
VDI_CREATE_TIME = #{createTime,jdbcType=VARCHAR},
|
|
|
VDI_MODIFY_USER = #{modifyUser,jdbcType=VARCHAR},
|
|
|
VDI_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
|
|
|
- VDI_BRANCHID = #{branchid,jdbcType=VARCHAR}
|
|
|
+ VDI_BRANCHID = #{branchid,jdbcType=VARCHAR},
|
|
|
+ VDI_PRO_EQU_REL_ID = #{proEquRelId,jdbcType=VARCHAR}
|
|
|
where VDI_DELIVERY_ID = #{deliveryId,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper>
|