From 89dbaf2061821a63dc89c8c96089d9b47178d3e4 Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期日, 09 二月 2025 18:05:12 +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