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/FlowerMaterialMapper.xml | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/mapper/statisticsAnalysis/FlowerMaterialMapper.xml b/src/main/resources/mapper/statisticsAnalysis/FlowerMaterialMapper.xml
index aa62080..6da77be 100644
--- a/src/main/resources/mapper/statisticsAnalysis/FlowerMaterialMapper.xml
+++ b/src/main/resources/mapper/statisticsAnalysis/FlowerMaterialMapper.xml
@@ -125,9 +125,15 @@
))
</if>
- <if test="dto.flowerStatus !=null and dto.flowerStatus !=''">
- AND f.status = #{dto.flowerStatus}
+ <if test="dto.flowerStatus != null and dto.flowerStatus != ''">
+ <if test="dto.flowerStatus == 'OFF'">
+ AND f.status IN ('OFF', 'FORCE_OFF')
+ </if>
+ <if test="dto.flowerStatus != 'OFF'">
+ AND f.status = #{dto.flowerStatus}
+ </if>
</if>
+
<if test="dto.flowerLevel !=null and dto.flowerLevel !=''">
AND f.`level` = #{dto.flowerLevel}
</if>
--
Gitblit v1.9.3