From 5997dc8acfa81a6c867c28810d1c3c9714efc46c Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期六, 29 三月 2025 14:55:42 +0800 Subject: [PATCH] fix: 登录 --- 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 < #{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 < #{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 < #{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 < #{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