|
@@ -25,6 +25,7 @@
|
|
|
<result column="VOD_MODIFY_USER" jdbcType="VARCHAR" property="modifyUser" />
|
|
|
<result column="VOD_MODIFY_TIME" jdbcType="VARCHAR" property="modifyTime" />
|
|
|
<result column="VOD_DELIVERY_ID" jdbcType="VARCHAR" property="deliveryId" />
|
|
|
+ <result column="VOD_IS_DELIVERY" jdbcType="VARCHAR" property="isDelivery" />
|
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
|
<!--
|
|
@@ -100,7 +101,7 @@
|
|
|
VOD_DETAILS_ID, VOD_CHANNEL, VOD_ORDER_ID, VOD_PRO_EQU_REL_ID, VOD_CARGO_WAY, VOD_PRODUCT_ID,
|
|
|
VOD_PRO_TYPE, VOD_PRO_NAME, VOD_PRO_PRICE, VOD_PRO_NUMS, VOD_AMOUNT, VOD_RECORD_ID,
|
|
|
VOD_REMARKS, VOD_IS_WINNING, VOD_CREATE_USER, VOD_CREATE_TIME, VOD_MODIFY_USER, VOD_MODIFY_TIME,
|
|
|
- VOD_DELIVERY_ID
|
|
|
+ VOD_DELIVERY_ID, VOD_IS_DELIVERY
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.minpay.db.table.model.VmOrderDetailsExample" resultMap="BaseResultMap">
|
|
|
<!--
|
|
@@ -159,14 +160,14 @@
|
|
|
VOD_PRO_NUMS, VOD_AMOUNT, VOD_RECORD_ID,
|
|
|
VOD_REMARKS, VOD_IS_WINNING, VOD_CREATE_USER,
|
|
|
VOD_CREATE_TIME, VOD_MODIFY_USER, VOD_MODIFY_TIME,
|
|
|
- VOD_DELIVERY_ID)
|
|
|
+ VOD_DELIVERY_ID, VOD_IS_DELIVERY)
|
|
|
values (#{detailsId,jdbcType=VARCHAR}, #{channel,jdbcType=VARCHAR}, #{orderId,jdbcType=VARCHAR},
|
|
|
#{proEquRelId,jdbcType=VARCHAR}, #{cargoWay,jdbcType=VARCHAR}, #{productId,jdbcType=VARCHAR},
|
|
|
#{proType,jdbcType=VARCHAR}, #{proName,jdbcType=VARCHAR}, #{proPrice,jdbcType=VARCHAR},
|
|
|
#{proNums,jdbcType=VARCHAR}, #{amount,jdbcType=VARCHAR}, #{recordId,jdbcType=VARCHAR},
|
|
|
#{remarks,jdbcType=VARCHAR}, #{isWinning,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR},
|
|
|
#{createTime,jdbcType=VARCHAR}, #{modifyUser,jdbcType=VARCHAR}, #{modifyTime,jdbcType=VARCHAR},
|
|
|
- #{deliveryId,jdbcType=VARCHAR})
|
|
|
+ #{deliveryId,jdbcType=VARCHAR}, #{isDelivery,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.minpay.db.table.model.VmOrderDetails">
|
|
|
<!--
|
|
@@ -232,6 +233,9 @@
|
|
|
<if test="deliveryId != null">
|
|
|
VOD_DELIVERY_ID,
|
|
|
</if>
|
|
|
+ <if test="isDelivery != null">
|
|
|
+ VOD_IS_DELIVERY,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="detailsId != null">
|
|
@@ -291,6 +295,9 @@
|
|
|
<if test="deliveryId != null">
|
|
|
#{deliveryId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="isDelivery != null">
|
|
|
+ #{isDelivery,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<select id="countByExample" parameterType="com.minpay.db.table.model.VmOrderDetailsExample" resultType="java.lang.Integer">
|
|
@@ -367,6 +374,9 @@
|
|
|
<if test="record.deliveryId != null">
|
|
|
VOD_DELIVERY_ID = #{record.deliveryId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="record.isDelivery != null">
|
|
|
+ VOD_IS_DELIVERY = #{record.isDelivery,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -396,7 +406,8 @@
|
|
|
VOD_CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
|
|
|
VOD_MODIFY_USER = #{record.modifyUser,jdbcType=VARCHAR},
|
|
|
VOD_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR},
|
|
|
- VOD_DELIVERY_ID = #{record.deliveryId,jdbcType=VARCHAR}
|
|
|
+ VOD_DELIVERY_ID = #{record.deliveryId,jdbcType=VARCHAR},
|
|
|
+ VOD_IS_DELIVERY = #{record.isDelivery,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -462,6 +473,9 @@
|
|
|
<if test="deliveryId != null">
|
|
|
VOD_DELIVERY_ID = #{deliveryId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="isDelivery != null">
|
|
|
+ VOD_IS_DELIVERY = #{isDelivery,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where VOD_DETAILS_ID = #{detailsId,jdbcType=VARCHAR}
|
|
|
</update>
|
|
@@ -488,7 +502,8 @@
|
|
|
VOD_CREATE_TIME = #{createTime,jdbcType=VARCHAR},
|
|
|
VOD_MODIFY_USER = #{modifyUser,jdbcType=VARCHAR},
|
|
|
VOD_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
|
|
|
- VOD_DELIVERY_ID = #{deliveryId,jdbcType=VARCHAR}
|
|
|
+ VOD_DELIVERY_ID = #{deliveryId,jdbcType=VARCHAR},
|
|
|
+ VOD_IS_DELIVERY = #{isDelivery,jdbcType=VARCHAR}
|
|
|
where VOD_DETAILS_ID = #{detailsId,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper>
|