From 871ab4152005b728f614b8df34c4f9e11e861782 Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期三, 25 十二月 2024 14:30:10 +0800
Subject: [PATCH] 1.花材:下架状态分为OFF,FORCE-OFF
---
src/main/resources/mapper/statisticsAnalysis/SalesStatisticsAnalysisMapper.xml | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/statisticsAnalysis/SalesStatisticsAnalysisMapper.xml b/src/main/resources/mapper/statisticsAnalysis/SalesStatisticsAnalysisMapper.xml
index 35cbbcd..099e184 100644
--- a/src/main/resources/mapper/statisticsAnalysis/SalesStatisticsAnalysisMapper.xml
+++ b/src/main/resources/mapper/statisticsAnalysis/SalesStatisticsAnalysisMapper.xml
@@ -62,6 +62,9 @@
<if test="dto.registerTel!=null and dto.registerTel!=''">
AND si.contact_tel LIKE CONCAT('%',#{dto.registerTel}, '%')
</if>
+ <if test="dto.contactTel!=null and dto.contactTel!=''">
+ AND si.contact_tel LIKE CONCAT('%',#{dto.contactTel}, '%')
+ </if>
<if test="dto.stationId != null">
AND oi.station_id = #{dto.stationId}
</if>
@@ -90,6 +93,9 @@
<if test="dto.createEndDate != null">
AND o.payment_time < #{dto.createEndDate}
</if>
+ <if test="dto.orderField !=null and dto.orderField !=''">
+ order by ${dto.orderField} ${dto.orderType}
+ </if>
</sql>
--
Gitblit v1.9.3