|
@@ -41,6 +41,11 @@
|
|
<result column="confirm_status" jdbcType="INTEGER" property="confirmStatus" />
|
|
<result column="confirm_status" jdbcType="INTEGER" property="confirmStatus" />
|
|
<result column="delete_status" jdbcType="INTEGER" property="deleteStatus" />
|
|
<result column="delete_status" jdbcType="INTEGER" property="deleteStatus" />
|
|
<result column="use_integration" jdbcType="INTEGER" property="useIntegration" />
|
|
<result column="use_integration" jdbcType="INTEGER" property="useIntegration" />
|
|
|
|
+ <result column="payment_time" jdbcType="TIMESTAMP" property="paymentTime" />
|
|
|
|
+ <result column="delivery_time" jdbcType="TIMESTAMP" property="deliveryTime" />
|
|
|
|
+ <result column="receive_time" jdbcType="TIMESTAMP" property="receiveTime" />
|
|
|
|
+ <result column="comment_time" jdbcType="TIMESTAMP" property="commentTime" />
|
|
|
|
+ <result column="modify_time" jdbcType="TIMESTAMP" property="modifyTime" />
|
|
</resultMap>
|
|
</resultMap>
|
|
<sql id="Example_Where_Clause">
|
|
<sql id="Example_Where_Clause">
|
|
<where>
|
|
<where>
|
|
@@ -107,7 +112,7 @@
|
|
integration, growth, promotion_info, bill_type, bill_header, bill_content, bill_receiver_phone,
|
|
integration, growth, promotion_info, bill_type, bill_header, bill_content, bill_receiver_phone,
|
|
bill_receiver_email, receiver_name, receiver_phone, receiver_post_code, receiver_province,
|
|
bill_receiver_email, receiver_name, receiver_phone, receiver_post_code, receiver_province,
|
|
receiver_city, receiver_region, receiver_detail_address, note, confirm_status, delete_status,
|
|
receiver_city, receiver_region, receiver_detail_address, note, confirm_status, delete_status,
|
|
- use_integration
|
|
|
|
|
|
+ use_integration, payment_time, delivery_time, receive_time, comment_time, modify_time
|
|
</sql>
|
|
</sql>
|
|
<select id="selectByExample" parameterType="com.macro.mall.model.OmsOrderExample" resultMap="BaseResultMap">
|
|
<select id="selectByExample" parameterType="com.macro.mall.model.OmsOrderExample" resultMap="BaseResultMap">
|
|
select
|
|
select
|
|
@@ -155,7 +160,9 @@
|
|
receiver_name, receiver_phone, receiver_post_code,
|
|
receiver_name, receiver_phone, receiver_post_code,
|
|
receiver_province, receiver_city, receiver_region,
|
|
receiver_province, receiver_city, receiver_region,
|
|
receiver_detail_address, note, confirm_status,
|
|
receiver_detail_address, note, confirm_status,
|
|
- delete_status, use_integration)
|
|
|
|
|
|
+ delete_status, use_integration, payment_time,
|
|
|
|
+ delivery_time, receive_time, comment_time,
|
|
|
|
+ modify_time)
|
|
values (#{memberId,jdbcType=BIGINT}, #{couponId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR},
|
|
values (#{memberId,jdbcType=BIGINT}, #{couponId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR},
|
|
#{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, #{totalAmount,jdbcType=DECIMAL},
|
|
#{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, #{totalAmount,jdbcType=DECIMAL},
|
|
#{payAmount,jdbcType=DECIMAL}, #{freightAmount,jdbcType=DECIMAL}, #{promotionAmount,jdbcType=DECIMAL},
|
|
#{payAmount,jdbcType=DECIMAL}, #{freightAmount,jdbcType=DECIMAL}, #{promotionAmount,jdbcType=DECIMAL},
|
|
@@ -168,7 +175,9 @@
|
|
#{receiverName,jdbcType=VARCHAR}, #{receiverPhone,jdbcType=VARCHAR}, #{receiverPostCode,jdbcType=VARCHAR},
|
|
#{receiverName,jdbcType=VARCHAR}, #{receiverPhone,jdbcType=VARCHAR}, #{receiverPostCode,jdbcType=VARCHAR},
|
|
#{receiverProvince,jdbcType=VARCHAR}, #{receiverCity,jdbcType=VARCHAR}, #{receiverRegion,jdbcType=VARCHAR},
|
|
#{receiverProvince,jdbcType=VARCHAR}, #{receiverCity,jdbcType=VARCHAR}, #{receiverRegion,jdbcType=VARCHAR},
|
|
#{receiverDetailAddress,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, #{confirmStatus,jdbcType=INTEGER},
|
|
#{receiverDetailAddress,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, #{confirmStatus,jdbcType=INTEGER},
|
|
- #{deleteStatus,jdbcType=INTEGER}, #{useIntegration,jdbcType=INTEGER})
|
|
|
|
|
|
+ #{deleteStatus,jdbcType=INTEGER}, #{useIntegration,jdbcType=INTEGER}, #{paymentTime,jdbcType=TIMESTAMP},
|
|
|
|
+ #{deliveryTime,jdbcType=TIMESTAMP}, #{receiveTime,jdbcType=TIMESTAMP}, #{commentTime,jdbcType=TIMESTAMP},
|
|
|
|
+ #{modifyTime,jdbcType=TIMESTAMP})
|
|
</insert>
|
|
</insert>
|
|
<insert id="insertSelective" parameterType="com.macro.mall.model.OmsOrder">
|
|
<insert id="insertSelective" parameterType="com.macro.mall.model.OmsOrder">
|
|
<selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
|
|
<selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
|
|
@@ -290,6 +299,21 @@
|
|
<if test="useIntegration != null">
|
|
<if test="useIntegration != null">
|
|
use_integration,
|
|
use_integration,
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="paymentTime != null">
|
|
|
|
+ payment_time,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="deliveryTime != null">
|
|
|
|
+ delivery_time,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="receiveTime != null">
|
|
|
|
+ receive_time,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="commentTime != null">
|
|
|
|
+ comment_time,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="modifyTime != null">
|
|
|
|
+ modify_time,
|
|
|
|
+ </if>
|
|
</trim>
|
|
</trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<if test="memberId != null">
|
|
<if test="memberId != null">
|
|
@@ -406,6 +430,21 @@
|
|
<if test="useIntegration != null">
|
|
<if test="useIntegration != null">
|
|
#{useIntegration,jdbcType=INTEGER},
|
|
#{useIntegration,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="paymentTime != null">
|
|
|
|
+ #{paymentTime,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="deliveryTime != null">
|
|
|
|
+ #{deliveryTime,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="receiveTime != null">
|
|
|
|
+ #{receiveTime,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="commentTime != null">
|
|
|
|
+ #{commentTime,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="modifyTime != null">
|
|
|
|
+ #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
</trim>
|
|
</trim>
|
|
</insert>
|
|
</insert>
|
|
<select id="countByExample" parameterType="com.macro.mall.model.OmsOrderExample" resultType="java.lang.Integer">
|
|
<select id="countByExample" parameterType="com.macro.mall.model.OmsOrderExample" resultType="java.lang.Integer">
|
|
@@ -534,6 +573,21 @@
|
|
<if test="record.useIntegration != null">
|
|
<if test="record.useIntegration != null">
|
|
use_integration = #{record.useIntegration,jdbcType=INTEGER},
|
|
use_integration = #{record.useIntegration,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="record.paymentTime != null">
|
|
|
|
+ payment_time = #{record.paymentTime,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.deliveryTime != null">
|
|
|
|
+ delivery_time = #{record.deliveryTime,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.receiveTime != null">
|
|
|
|
+ receive_time = #{record.receiveTime,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.commentTime != null">
|
|
|
|
+ comment_time = #{record.commentTime,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.modifyTime != null">
|
|
|
|
+ modify_time = #{record.modifyTime,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
</set>
|
|
</set>
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -579,7 +633,12 @@
|
|
note = #{record.note,jdbcType=VARCHAR},
|
|
note = #{record.note,jdbcType=VARCHAR},
|
|
confirm_status = #{record.confirmStatus,jdbcType=INTEGER},
|
|
confirm_status = #{record.confirmStatus,jdbcType=INTEGER},
|
|
delete_status = #{record.deleteStatus,jdbcType=INTEGER},
|
|
delete_status = #{record.deleteStatus,jdbcType=INTEGER},
|
|
- use_integration = #{record.useIntegration,jdbcType=INTEGER}
|
|
|
|
|
|
+ use_integration = #{record.useIntegration,jdbcType=INTEGER},
|
|
|
|
+ payment_time = #{record.paymentTime,jdbcType=TIMESTAMP},
|
|
|
|
+ delivery_time = #{record.deliveryTime,jdbcType=TIMESTAMP},
|
|
|
|
+ receive_time = #{record.receiveTime,jdbcType=TIMESTAMP},
|
|
|
|
+ comment_time = #{record.commentTime,jdbcType=TIMESTAMP},
|
|
|
|
+ modify_time = #{record.modifyTime,jdbcType=TIMESTAMP}
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
</if>
|
|
</if>
|
|
@@ -701,6 +760,21 @@
|
|
<if test="useIntegration != null">
|
|
<if test="useIntegration != null">
|
|
use_integration = #{useIntegration,jdbcType=INTEGER},
|
|
use_integration = #{useIntegration,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="paymentTime != null">
|
|
|
|
+ payment_time = #{paymentTime,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="deliveryTime != null">
|
|
|
|
+ delivery_time = #{deliveryTime,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="receiveTime != null">
|
|
|
|
+ receive_time = #{receiveTime,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="commentTime != null">
|
|
|
|
+ comment_time = #{commentTime,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="modifyTime != null">
|
|
|
|
+ modify_time = #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
</set>
|
|
</set>
|
|
where id = #{id,jdbcType=BIGINT}
|
|
where id = #{id,jdbcType=BIGINT}
|
|
</update>
|
|
</update>
|
|
@@ -743,7 +817,12 @@
|
|
note = #{note,jdbcType=VARCHAR},
|
|
note = #{note,jdbcType=VARCHAR},
|
|
confirm_status = #{confirmStatus,jdbcType=INTEGER},
|
|
confirm_status = #{confirmStatus,jdbcType=INTEGER},
|
|
delete_status = #{deleteStatus,jdbcType=INTEGER},
|
|
delete_status = #{deleteStatus,jdbcType=INTEGER},
|
|
- use_integration = #{useIntegration,jdbcType=INTEGER}
|
|
|
|
|
|
+ use_integration = #{useIntegration,jdbcType=INTEGER},
|
|
|
|
+ payment_time = #{paymentTime,jdbcType=TIMESTAMP},
|
|
|
|
+ delivery_time = #{deliveryTime,jdbcType=TIMESTAMP},
|
|
|
|
+ receive_time = #{receiveTime,jdbcType=TIMESTAMP},
|
|
|
|
+ comment_time = #{commentTime,jdbcType=TIMESTAMP},
|
|
|
|
+ modify_time = #{modifyTime,jdbcType=TIMESTAMP}
|
|
where id = #{id,jdbcType=BIGINT}
|
|
where id = #{id,jdbcType=BIGINT}
|
|
</update>
|
|
</update>
|
|
</mapper>
|
|
</mapper>
|