Procházet zdrojové kódy

[线上交易][修改][查询]

release_toaliyun_real
gongbiao před 6 roky
rodič
revize
f2751efba2
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. +3
    -3
      mallinkService/src/main/resources/mapper/WxOrderMapper.xml

+ 3
- 3
mallinkService/src/main/resources/mapper/WxOrderMapper.xml Zobrazit soubor

@@ -558,7 +558,7 @@
c.title,cubi.`name` c_user_name,cubi.phone,o.create_date,2 attribute from wx_order o c.title,cubi.`name` c_user_name,cubi.phone,o.create_date,2 attribute from wx_order o
left join wx_c_user_basic_info cubi on o.c_user_id=cubi.id left join wx_c_user_basic_info cubi on o.c_user_id=cubi.id
left join wx_coupon c on o.product_id=c.id left join wx_coupon c on o.product_id=c.id
where o.tenant_id=#{tenantId} and c.type!=100 and o.payment=c.price
where o.tenant_id=#{tenantId} and c.type!=100 and o.order_status in(0,1,2,3,4,5)
union all union all
select o.id,o.order_number,o.tenant_id,o.product_id,o.payment, select o.id,o.order_number,o.tenant_id,o.product_id,o.payment,
case o.order_status when 6 then 0 when 7 then 1 case o.order_status when 6 then 0 when 7 then 1
@@ -566,7 +566,7 @@
c.title,cubi.`name` c_user_name,cubi.phone,o.create_date,3 attribute from wx_order o c.title,cubi.`name` c_user_name,cubi.phone,o.create_date,3 attribute from wx_order o
left join wx_c_user_basic_info cubi on o.c_user_id=cubi.id left join wx_c_user_basic_info cubi on o.c_user_id=cubi.id
left join wx_coupon c on o.product_id=c.id left join wx_coupon c on o.product_id=c.id
where o.tenant_id=#{tenantId} and c.type=8 and o.payment!=c.price
where o.tenant_id=#{tenantId} and c.type=8 and o.payment=c.sale_price
union all union all
select o.id,o.order_number,o.tenant_id,o.product_id,o.payment, select o.id,o.order_number,o.tenant_id,o.product_id,o.payment,
case o.order_status when 10 then 1 when 11 then 1 case o.order_status when 10 then 1 when 11 then 1
@@ -575,7 +575,7 @@
c.title,cubi.`name` c_user_name,cubi.phone,o.create_date,4 attribute from wx_order o c.title,cubi.`name` c_user_name,cubi.phone,o.create_date,4 attribute from wx_order o
left join wx_c_user_basic_info cubi on o.c_user_id=cubi.id left join wx_c_user_basic_info cubi on o.c_user_id=cubi.id
left join wx_coupon c on o.product_id=c.id left join wx_coupon c on o.product_id=c.id
where o.tenant_id=#{tenantId} and c.type=9 and o.payment!=c.price
where o.tenant_id=#{tenantId} and c.type=9 and o.payment=c.sale_price
) o ) o
<where> <where>
<if test="tenantId!=null"> <if test="tenantId!=null">


Načítá se…
Zrušit
Uložit