|
@@ -32,6 +32,8 @@
|
|
|
<result column="order_biz_type" property="wsFlag" jdbcType="CHAR" />
|
|
|
<result column="buyer_pay_check" property="buyerPayCheck" jdbcType="CHAR" />
|
|
|
<result column="expr_agreement_type" property="exprAgreementType" />
|
|
|
+ <result column="coupon_price" property="couponPrice" />
|
|
|
+ <result column="full_cut_price" property="fullCutPrice" />
|
|
|
</resultMap>
|
|
|
|
|
|
<resultMap id="wxOrderGoodsDate" type="com.emato.ccnet.wx.dao.entity.wx.WxOrderGoodsDate" >
|
|
@@ -55,7 +57,7 @@
|
|
|
<select id="getWxOrderDate" parameterType="hashMap" resultMap="wxOrderDate">
|
|
|
SELECT mo.merch_order_sn,mo.order_sn,mo.id,ms.merch_sn,ms.merch_name, ms.store_number,ms.third_party_merch_code,ms.third_party_merch_name,mo.store_id,mo.add_time,mo.user_id,mo.add_time AS buyer_bill_time,mu.id_no,mu.username,
|
|
|
mu.mobile AS buyer_tel,mo.consignee,mo.mobile,mo.province,mo.city,mo.district,mo.address,mo.pay_name,mo.pay_mobile,mo.pay_transaction_id,mo.actual_price,
|
|
|
- mo.pay_time,mo.order_biz_type, mo.buyer_pay_check,ms.expr_agreement_type
|
|
|
+ mo.pay_time,mo.order_biz_type, mo.buyer_pay_check,ms.expr_agreement_type,mo.coupon_price,mo.full_cut_price
|
|
|
FROM mall_order mo
|
|
|
LEFT OUTER JOIN mall_user mu ON mo.user_id = mu.id
|
|
|
LEFT OUTER JOIN mall_store ms ON mo.store_id = ms.id
|