From 4e5c47ee19caf98810b4ee50661fc141c4d7478f Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期五, 28 三月 2025 08:51:19 +0800
Subject: [PATCH] fix: 11
---
src/main/resources/mapper/statisticsAnalysis/FlowerMaterialMapper.xml | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/src/main/resources/mapper/statisticsAnalysis/FlowerMaterialMapper.xml b/src/main/resources/mapper/statisticsAnalysis/FlowerMaterialMapper.xml
index 6da77be..67746bd 100644
--- a/src/main/resources/mapper/statisticsAnalysis/FlowerMaterialMapper.xml
+++ b/src/main/resources/mapper/statisticsAnalysis/FlowerMaterialMapper.xml
@@ -125,15 +125,18 @@
))
</if>
- <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.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.flowerStatus != null and dto.flowerStatus != ''">
+ AND f.status = #{dto.flowerStatus}
+ </if>
<if test="dto.flowerLevel !=null and dto.flowerLevel !=''">
AND f.`level` = #{dto.flowerLevel}
</if>
--
Gitblit v1.9.3