From cbee4bb3af2ef0027b7fc6370cda6ec57a840f63 Mon Sep 17 00:00:00 2001 From: xhxu Date: Mon, 11 Oct 2021 15:45:36 +0800 Subject: [PATCH] update gift --- mallinkService/src/main/resources/mapper/WxOrderMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mallinkService/src/main/resources/mapper/WxOrderMapper.xml b/mallinkService/src/main/resources/mapper/WxOrderMapper.xml index a690802ac..85b3097e7 100644 --- a/mallinkService/src/main/resources/mapper/WxOrderMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxOrderMapper.xml @@ -465,7 +465,7 @@ o.`coupon_number`,o.`freight_price`,o.`shipping_type`,o.`shipping_address` from wx_coupon c,wx_order o where o.product_id = c.id and o.order_status in (0,2) - and o.compose_order_type in (0,3) + and o.compose_order_type = 0 and o.compose_order_id = 0 and o.c_user_id = #{cUserId} @@ -510,7 +510,7 @@ null ,null ,null ,null from wx_order o where o.order_status in (0,2) - and o.compose_order_type in (1,2) + and o.compose_order_type in (1,2,3) and o.compose_order_id > 0 and o.c_user_id = #{cUserId}