From 227a7460ec73dede14cf16f91e9a4f89f98acd4e Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期三, 25 十二月 2024 10:11:20 +0800
Subject: [PATCH] add: 花材销售统计商品分类

---
 src/main/resources/mapper/payment/OrderMapper.xml |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/resources/mapper/payment/OrderMapper.xml b/src/main/resources/mapper/payment/OrderMapper.xml
index 2d3a5e8..08965d0 100644
--- a/src/main/resources/mapper/payment/OrderMapper.xml
+++ b/src/main/resources/mapper/payment/OrderMapper.xml
@@ -201,7 +201,7 @@
                 on oi.order_id=o.id
                 where oi.status in ('abnormal','reduce','lack','back')
                 and  o.transfer_id is null
-                and o.status in ('COLLECTION','SEND')
+                and o.status in ('COLLECTION','SEND','RECEIVE')
             )
         </if>
 
@@ -216,7 +216,7 @@
                 on oi.order_id=o.id
                 where oi.status in ('abnormal','reduce','lack','back')
                 and  o.transfer_id is null
-                and o.status in ('COLLECTION','SEND')
+                and o.status in ('COLLECTION','SEND','RECEIVE')
             )
         </if>
 
@@ -471,7 +471,7 @@
             on oi.order_id=o.id
             where oi.status in ('abnormal','reduce','lack','back')
             and  o.transfer_id is null
-            and o.status in ('COLLECTION','SEND')
+            and o.status in ('COLLECTION','SEND','RECEIVE')
         )
 
         union
@@ -491,7 +491,7 @@
             on oi.order_id=o.id
             where oi.status in ('abnormal','reduce','lack','back')
             and  o.transfer_id is null
-            and o.status in ('COLLECTION','SEND')
+            and o.status in ('COLLECTION','SEND','RECEIVE')
         )
 
     </select>

--
Gitblit v1.9.3