|
|
@@ -198,7 +198,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
a.pay_remain, a.delivery_status, a.delivery_pay_status, a.delivery_pay_time, a.delivery_type,
|
|
|
a.delivery_pay_money, a.delivery_import_time, a.delivery_send_time, a.is_after_sales, a.dept_id,
|
|
|
a.channel, a.source, a.bill_price, a.total_postage, a.pay_postage, a.gain_integral,a.coupon_price,
|
|
|
- a.use_integral, a.pay_integral, a.back_integral, a.is_edit_money, b.product_info as product_introduce,a.customer_id,a.app_id
|
|
|
+ a.use_integral, a.pay_integral, a.back_integral, a.is_edit_money, b.product_info as product_introduce,a.customer_id,a.app_id,a.coupon_user_id
|
|
|
FROM
|
|
|
live_order a LEFT JOIN fs_store_product_scrm b ON a.product_id = b.product_id
|
|
|
left join company_user cu on a.company_user_id = cu.user_id
|
|
|
@@ -281,6 +281,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="customerId != null">customer_id,</if>
|
|
|
<if test="couponPrice != null">coupon_price,</if>
|
|
|
<if test="appId != null and appId != ''">app_id,</if>
|
|
|
+ <if test="couponUserId != null and couponUserId != ''">coupon_user_id,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="liveId != null">#{liveId},</if>
|
|
|
@@ -354,6 +355,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="customerId != null">#{customerId},</if>
|
|
|
<if test="couponPrice != null">#{couponPrice},</if>
|
|
|
<if test="appId != null and appId != ''">#{appId},</if>
|
|
|
+ <if test="couponUserId != null and couponUserId != ''">#{couponUserId},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|