|
|
@@ -19,10 +19,12 @@
|
|
|
<result column="VOD_AMOUNT" jdbcType="VARCHAR" property="amount" />
|
|
|
<result column="VOD_RECORD_ID" jdbcType="VARCHAR" property="recordId" />
|
|
|
<result column="VOD_REMARKS" jdbcType="VARCHAR" property="remarks" />
|
|
|
+ <result column="VOD_IS_WINNING" jdbcType="VARCHAR" property="isWinning" />
|
|
|
<result column="VOD_CREATE_USER" jdbcType="VARCHAR" property="createUser" />
|
|
|
<result column="VOD_CREATE_TIME" jdbcType="VARCHAR" property="createTime" />
|
|
|
<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" />
|
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
|
<!--
|
|
|
@@ -97,7 +99,8 @@
|
|
|
-->
|
|
|
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_CREATE_USER, VOD_CREATE_TIME, VOD_MODIFY_USER, VOD_MODIFY_TIME
|
|
|
+ VOD_REMARKS, VOD_IS_WINNING, VOD_CREATE_USER, VOD_CREATE_TIME, VOD_MODIFY_USER, VOD_MODIFY_TIME,
|
|
|
+ VOD_DELIVERY_ID
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.minpay.db.table.model.VmOrderDetailsExample" resultMap="BaseResultMap">
|
|
|
<!--
|
|
|
@@ -154,14 +157,16 @@
|
|
|
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_CREATE_USER, VOD_CREATE_TIME,
|
|
|
- VOD_MODIFY_USER, VOD_MODIFY_TIME)
|
|
|
+ VOD_REMARKS, VOD_IS_WINNING, VOD_CREATE_USER,
|
|
|
+ VOD_CREATE_TIME, VOD_MODIFY_USER, VOD_MODIFY_TIME,
|
|
|
+ VOD_DELIVERY_ID)
|
|
|
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}, #{createUser,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR},
|
|
|
- #{modifyUser,jdbcType=VARCHAR}, #{modifyTime,jdbcType=VARCHAR})
|
|
|
+ #{remarks,jdbcType=VARCHAR}, #{isWinning,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR},
|
|
|
+ #{createTime,jdbcType=VARCHAR}, #{modifyUser,jdbcType=VARCHAR}, #{modifyTime,jdbcType=VARCHAR},
|
|
|
+ #{deliveryId,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.minpay.db.table.model.VmOrderDetails">
|
|
|
<!--
|
|
|
@@ -209,6 +214,9 @@
|
|
|
<if test="remarks != null">
|
|
|
VOD_REMARKS,
|
|
|
</if>
|
|
|
+ <if test="isWinning != null">
|
|
|
+ VOD_IS_WINNING,
|
|
|
+ </if>
|
|
|
<if test="createUser != null">
|
|
|
VOD_CREATE_USER,
|
|
|
</if>
|
|
|
@@ -221,6 +229,9 @@
|
|
|
<if test="modifyTime != null">
|
|
|
VOD_MODIFY_TIME,
|
|
|
</if>
|
|
|
+ <if test="deliveryId != null">
|
|
|
+ VOD_DELIVERY_ID,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="detailsId != null">
|
|
|
@@ -262,6 +273,9 @@
|
|
|
<if test="remarks != null">
|
|
|
#{remarks,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="isWinning != null">
|
|
|
+ #{isWinning,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="createUser != null">
|
|
|
#{createUser,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -274,6 +288,9 @@
|
|
|
<if test="modifyTime != null">
|
|
|
#{modifyTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="deliveryId != null">
|
|
|
+ #{deliveryId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<select id="countByExample" parameterType="com.minpay.db.table.model.VmOrderDetailsExample" resultType="java.lang.Integer">
|
|
|
@@ -332,6 +349,9 @@
|
|
|
<if test="record.remarks != null">
|
|
|
VOD_REMARKS = #{record.remarks,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="record.isWinning != null">
|
|
|
+ VOD_IS_WINNING = #{record.isWinning,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="record.createUser != null">
|
|
|
VOD_CREATE_USER = #{record.createUser,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -344,6 +364,9 @@
|
|
|
<if test="record.modifyTime != null">
|
|
|
VOD_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="record.deliveryId != null">
|
|
|
+ VOD_DELIVERY_ID = #{record.deliveryId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
@@ -368,10 +391,12 @@
|
|
|
VOD_AMOUNT = #{record.amount,jdbcType=VARCHAR},
|
|
|
VOD_RECORD_ID = #{record.recordId,jdbcType=VARCHAR},
|
|
|
VOD_REMARKS = #{record.remarks,jdbcType=VARCHAR},
|
|
|
+ VOD_IS_WINNING = #{record.isWinning,jdbcType=VARCHAR},
|
|
|
VOD_CREATE_USER = #{record.createUser,jdbcType=VARCHAR},
|
|
|
VOD_CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
|
|
|
VOD_MODIFY_USER = #{record.modifyUser,jdbcType=VARCHAR},
|
|
|
- VOD_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR}
|
|
|
+ VOD_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR},
|
|
|
+ VOD_DELIVERY_ID = #{record.deliveryId,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
|
@@ -419,6 +444,9 @@
|
|
|
<if test="remarks != null">
|
|
|
VOD_REMARKS = #{remarks,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="isWinning != null">
|
|
|
+ VOD_IS_WINNING = #{isWinning,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="createUser != null">
|
|
|
VOD_CREATE_USER = #{createUser,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -431,6 +459,9 @@
|
|
|
<if test="modifyTime != null">
|
|
|
VOD_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="deliveryId != null">
|
|
|
+ VOD_DELIVERY_ID = #{deliveryId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where VOD_DETAILS_ID = #{detailsId,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
@@ -452,10 +483,12 @@
|
|
|
VOD_AMOUNT = #{amount,jdbcType=VARCHAR},
|
|
|
VOD_RECORD_ID = #{recordId,jdbcType=VARCHAR},
|
|
|
VOD_REMARKS = #{remarks,jdbcType=VARCHAR},
|
|
|
+ VOD_IS_WINNING = #{isWinning,jdbcType=VARCHAR},
|
|
|
VOD_CREATE_USER = #{createUser,jdbcType=VARCHAR},
|
|
|
VOD_CREATE_TIME = #{createTime,jdbcType=VARCHAR},
|
|
|
VOD_MODIFY_USER = #{modifyUser,jdbcType=VARCHAR},
|
|
|
- VOD_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR}
|
|
|
+ VOD_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
|
|
|
+ VOD_DELIVERY_ID = #{deliveryId,jdbcType=VARCHAR}
|
|
|
where VOD_DETAILS_ID = #{detailsId,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper>
|