From c885a03818d37dceb22c558b9f23164e1f2ae749 Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期五, 27 十二月 2024 10:43:58 +0800
Subject: [PATCH] add:阿里云短信模板获取签名和模板信息3

---
 src/main/resources/mapper/report/OrderReportMapper.xml |   16 ++++------------
 1 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/src/main/resources/mapper/report/OrderReportMapper.xml b/src/main/resources/mapper/report/OrderReportMapper.xml
index affc3b6..f88e5bb 100644
--- a/src/main/resources/mapper/report/OrderReportMapper.xml
+++ b/src/main/resources/mapper/report/OrderReportMapper.xml
@@ -47,9 +47,7 @@
             and o.payment_time &lt; #{dto.endDate}
         </if>
         <if test="dto.partnerId != null">
-            and o.create_by in (
-            select user_id from t_customer_info where partner_id=#{dto.partnerId}
-            )
+            and o.partner_id=#{dto.partnerId}
         </if>
         ) t
 
@@ -96,9 +94,7 @@
                     and o.payment_time &lt; #{dto.endDate}
                 </if>
                 <if test="dto.partnerId != null">
-                    and o.create_by in (
-                        select user_id from t_customer_info where partner_id=#{dto.partnerId}
-                    )
+                    and o.partner_id=#{dto.partnerId}
                 </if>
         ) t
 
@@ -130,9 +126,7 @@
             and o.payment_time &lt; #{dto.endDate}
         </if>
         <if test="dto.partnerId != null">
-            and o.create_by in (
-            select user_id from t_customer_info where partner_id=#{dto.partnerId}
-            )
+            and o.partner_id=#{dto.partnerId}
         </if>
     </select>
 
@@ -159,9 +153,7 @@
             and o.payment_time &lt; #{dto.endDate}
         </if>
         <if test="dto.partnerId != null">
-            and o.create_by in (
-            select user_id from t_customer_info where partner_id=#{dto.partnerId}
-            )
+            and o.partner_id=#{dto.partnerId}
         </if>
     </select>
 

--
Gitblit v1.9.3