|
@@ -24,6 +24,7 @@
|
|
|
<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" />
|
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
|
<!--
|
|
@@ -99,7 +100,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_MODIFY_TIME, VDI_BRANCHID
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.minpay.db.table.model.VmDeliveryInfExample" resultMap="BaseResultMap">
|
|
|
<!--
|
|
@@ -157,15 +158,15 @@
|
|
|
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_CREATE_TIME, VDI_MODIFY_USER, VDI_MODIFY_TIME,
|
|
|
+ VDI_BRANCHID)
|
|
|
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}
|
|
|
- )
|
|
|
+ #{createTime,jdbcType=VARCHAR}, #{modifyUser,jdbcType=VARCHAR}, #{modifyTime,jdbcType=VARCHAR},
|
|
|
+ #{branchid,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.minpay.db.table.model.VmDeliveryInf">
|
|
|
<!--
|
|
@@ -228,6 +229,9 @@
|
|
|
<if test="modifyTime != null">
|
|
|
VDI_MODIFY_TIME,
|
|
|
</if>
|
|
|
+ <if test="branchid != null">
|
|
|
+ VDI_BRANCHID,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="deliveryId != null">
|
|
@@ -284,6 +288,9 @@
|
|
|
<if test="modifyTime != null">
|
|
|
#{modifyTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="branchid != null">
|
|
|
+ #{branchid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<select id="countByExample" parameterType="com.minpay.db.table.model.VmDeliveryInfExample" resultType="java.lang.Integer">
|
|
@@ -357,6 +364,9 @@
|
|
|
<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>
|
|
|
</set>
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -385,7 +395,8 @@
|
|
|
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_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR},
|
|
|
+ VDI_BRANCHID = #{record.branchid,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -448,6 +459,9 @@
|
|
|
<if test="modifyTime != null">
|
|
|
VDI_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="branchid != null">
|
|
|
+ VDI_BRANCHID = #{branchid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where VDI_DELIVERY_ID = #{deliveryId,jdbcType=VARCHAR}
|
|
|
</update>
|
|
@@ -473,7 +487,8 @@
|
|
|
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_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
|
|
|
+ VDI_BRANCHID = #{branchid,jdbcType=VARCHAR}
|
|
|
where VDI_DELIVERY_ID = #{deliveryId,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper>
|