1
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
<result property="profit" column="profit"/>
|
||||
<result property="sellingPriceManual" column="selling_price_manual"/>
|
||||
<result property="profitManual" column="profit_manual"/>
|
||||
<result property="extraCost" column="extra_cost"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectJDOrderBase">
|
||||
@@ -50,7 +51,7 @@
|
||||
is_refunded, refund_date, is_refund_received, refund_received_date, is_rebate_received, rebate_received_date,
|
||||
is_price_protected, price_protected_date, is_invoice_opened, invoice_opened_date, is_review_posted, review_posted_date,
|
||||
rebate_remark_json, rebate_remark_has_abnormal,
|
||||
selling_price_type, selling_price, profit, selling_price_manual, profit_manual
|
||||
selling_price_type, selling_price, profit, selling_price_manual, profit_manual, extra_cost
|
||||
from jd_order
|
||||
</sql>
|
||||
|
||||
@@ -174,7 +175,7 @@
|
||||
order_id, buyer, order_time, create_time, update_time, status, is_count_enabled, third_party_order_no, jingfen_actual_price,
|
||||
is_refunded, refund_date, is_refund_received, refund_received_date, is_rebate_received, rebate_received_date,
|
||||
is_price_protected, price_protected_date, is_invoice_opened, invoice_opened_date, is_review_posted, review_posted_date,
|
||||
selling_price_type, selling_price, profit, selling_price_manual, profit_manual
|
||||
selling_price_type, selling_price, profit, selling_price_manual, profit_manual, extra_cost
|
||||
) values (
|
||||
#{remark}, #{distributionMark}, #{modelNumber}, #{link},
|
||||
#{paymentAmount}, #{rebateAmount}, #{address}, #{logisticsLink},
|
||||
@@ -182,7 +183,7 @@
|
||||
#{orderId}, #{buyer}, #{orderTime}, now(), now(), #{status}, #{isCountEnabled}, #{thirdPartyOrderNo}, #{jingfenActualPrice},
|
||||
#{isRefunded}, #{refundDate}, #{isRefundReceived}, #{refundReceivedDate}, #{isRebateReceived}, #{rebateReceivedDate},
|
||||
#{isPriceProtected}, #{priceProtectedDate}, #{isInvoiceOpened}, #{invoiceOpenedDate}, #{isReviewPosted}, #{reviewPostedDate},
|
||||
#{sellingPriceType}, #{sellingPrice}, #{profit}, #{sellingPriceManual}, #{profitManual}
|
||||
#{sellingPriceType}, #{sellingPrice}, #{profit}, #{sellingPriceManual}, #{profitManual}, #{extraCost,jdbcType=DOUBLE}
|
||||
)
|
||||
</insert>
|
||||
|
||||
@@ -220,6 +221,7 @@
|
||||
<if test="reviewPostedDate != null"> review_posted_date = #{reviewPostedDate},</if>
|
||||
<if test="rebateRemarkJson != null"> rebate_remark_json = #{rebateRemarkJson},</if>
|
||||
<if test="rebateRemarkHasAbnormal != null"> rebate_remark_has_abnormal = #{rebateRemarkHasAbnormal},</if>
|
||||
<if test="extraCost != null"> extra_cost = #{extraCost},</if>
|
||||
<if test="params != null and params.applyProfitFields != null and params.applyProfitFields == true">
|
||||
selling_price_type = #{sellingPriceType,jdbcType=VARCHAR},
|
||||
selling_price = #{sellingPrice,jdbcType=DOUBLE},
|
||||
|
||||
Reference in New Issue
Block a user