From 2d5ecf23265bba8a2978ab79987561e12ea44057 Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期日, 29 十二月 2024 13:55:55 +0800
Subject: [PATCH] 1.阿里云短信任务-新增详情接口
---
src/main/resources/mapper/statisticsAnalysis/SalesStatisticsAnalysisMapper.xml | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/statisticsAnalysis/SalesStatisticsAnalysisMapper.xml b/src/main/resources/mapper/statisticsAnalysis/SalesStatisticsAnalysisMapper.xml
index 099e184..c2334f9 100644
--- a/src/main/resources/mapper/statisticsAnalysis/SalesStatisticsAnalysisMapper.xml
+++ b/src/main/resources/mapper/statisticsAnalysis/SalesStatisticsAnalysisMapper.xml
@@ -69,7 +69,9 @@
AND oi.station_id = #{dto.stationId}
</if>
<if test="dto.flowerCategory != null">
- AND f.category = #{dto.flowerCategory}
+ AND ( f.category = #{dto.flowerCategory} or f.category in (
+ select id from t_flower_category where parent_id = #{dto.flowerCategory}
+ ))
</if>
<if test="dto.flowerLevel != null and dto.flowerLevel != ''">
AND oi.flower_level = #{dto.flowerLevel}
--
Gitblit v1.9.3