From e2af8608c0d243c6ec061791197fd446b4401b8a Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期三, 25 十二月 2024 13:37:01 +0800 Subject: [PATCH] 1.统计报表-历史合伙人可查 2.小程序-花店:分类按照售罄放到最下面 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 < #{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