Przeglądaj źródła

[修改][会员消费][添加导出功能]

release_toaliyun_real
luozukai 6 lat temu
rodzic
commit
4fbcf5f09d
1 zmienionych plików z 3 dodań i 3 usunięć
  1. +3
    -3
      mallinkService/src/main/resources/mapper/WxMerchantMapper.xml

+ 3
- 3
mallinkService/src/main/resources/mapper/WxMerchantMapper.xml Wyświetl plik

@@ -429,7 +429,7 @@
left join wx_coupon co on(o.`coupon_id`=co.id) left join wx_coupon co on(o.`coupon_id`=co.id)
left join wx_coupon_merchant cm on(cm.product_id=co.id) left join wx_coupon_merchant cm on(cm.product_id=co.id)
inner join wx_c_user_basic_info c on(o.c_user_id=c.id) inner join wx_c_user_basic_info c on(o.c_user_id=c.id)
left join wx_merchant_b_user mb on(mb.id=c.id)
inner join wx_merchant_b_user mb on(mb.id=c.id)
where cm.`merchant_id`=m.id and o.coupon_order_status=1 and mb.merchant_id=m.id where cm.`merchant_id`=m.id and o.coupon_order_status=1 and mb.merchant_id=m.id
<if test="starttime != null"> <if test="starttime != null">
and o.create_date &gt;= #{starttime} and o.create_date &gt;= #{starttime}
@@ -443,7 +443,7 @@
left join wx_coupon co on(o.`coupon_id`=co.id) left join wx_coupon co on(o.`coupon_id`=co.id)
left join wx_coupon_merchant cm on(cm.product_id=co.id) left join wx_coupon_merchant cm on(cm.product_id=co.id)
inner join wx_c_user_basic_info c on(o.c_user_id=c.id) inner join wx_c_user_basic_info c on(o.c_user_id=c.id)
left join wx_merchant_b_user mb on(mb.id=c.id)
inner join wx_merchant_b_user mb on(mb.id=c.id)
where cm.`merchant_id`=m.id and o.coupon_order_status=1 and mb.merchant_id=m.id where cm.`merchant_id`=m.id and o.coupon_order_status=1 and mb.merchant_id=m.id
<if test="starttime != null"> <if test="starttime != null">
and o.create_date &gt;= #{starttime} and o.create_date &gt;= #{starttime}
@@ -457,7 +457,7 @@
left join wx_coupon co on(o.`coupon_id`=co.id) left join wx_coupon co on(o.`coupon_id`=co.id)
left join wx_coupon_merchant cm on(cm.product_id=co.id) left join wx_coupon_merchant cm on(cm.product_id=co.id)
inner join wx_c_user_basic_info c on(o.c_user_id=c.id) inner join wx_c_user_basic_info c on(o.c_user_id=c.id)
left join wx_merchant_b_user mb on(mb.id=c.id)
inner join wx_merchant_b_user mb on(mb.id=c.id)
where cm.`merchant_id`=m.id and o.coupon_order_status=1 and mb.merchant_id=m.id where cm.`merchant_id`=m.id and o.coupon_order_status=1 and mb.merchant_id=m.id
<if test="starttime != null"> <if test="starttime != null">
and o.create_date &gt;= #{starttime} and o.create_date &gt;= #{starttime}


Ładowanie…
Anuluj
Zapisz