1
This commit is contained in:
@@ -20,11 +20,12 @@
|
||||
<result property="status" column="status"/>
|
||||
<result property="isCountEnabled" column="is_count_enabled"/>
|
||||
<result property="thirdPartyOrderNo" column="third_party_order_no"/>
|
||||
<result property="jingfenActualPrice" column="jingfen_actual_price"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectJDOrderBase">
|
||||
select id, remark, distribution_mark, model_number, link, payment_amount, rebate_amount,
|
||||
address, logistics_link, order_id, buyer, order_time, create_time, update_time, status, is_count_enabled, third_party_order_no
|
||||
address, logistics_link, order_id, buyer, order_time, create_time, update_time, status, is_count_enabled, third_party_order_no, jingfen_actual_price
|
||||
from jd_order
|
||||
</sql>
|
||||
|
||||
@@ -96,11 +97,11 @@
|
||||
insert into jd_order (
|
||||
remark, distribution_mark, model_number, link,
|
||||
payment_amount, rebate_amount, address, logistics_link,
|
||||
order_id, buyer, order_time, create_time, update_time, status, is_count_enabled, third_party_order_no
|
||||
order_id, buyer, order_time, create_time, update_time, status, is_count_enabled, third_party_order_no, jingfen_actual_price
|
||||
) values (
|
||||
#{remark}, #{distributionMark}, #{modelNumber}, #{link},
|
||||
#{paymentAmount}, #{rebateAmount}, #{address}, #{logisticsLink},
|
||||
#{orderId}, #{buyer}, #{orderTime}, now(), now(), #{status}, #{isCountEnabled}, #{thirdPartyOrderNo}
|
||||
#{orderId}, #{buyer}, #{orderTime}, now(), now(), #{status}, #{isCountEnabled}, #{thirdPartyOrderNo}, #{jingfenActualPrice}
|
||||
)
|
||||
</insert>
|
||||
|
||||
@@ -121,6 +122,7 @@
|
||||
<if test="status != null"> status = #{status},</if>
|
||||
<if test="isCountEnabled != null"> is_count_enabled = #{isCountEnabled},</if>
|
||||
<if test="thirdPartyOrderNo != null"> third_party_order_no = #{thirdPartyOrderNo},</if>
|
||||
<if test="jingfenActualPrice != null"> jingfen_actual_price = #{jingfenActualPrice},</if>
|
||||
update_time = now()
|
||||
</set>
|
||||
where id = #{id}
|
||||
|
||||
Reference in New Issue
Block a user