From 89dbaf2061821a63dc89c8c96089d9b47178d3e4 Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期日, 09 二月 2025 18:05:12 +0800
Subject: [PATCH] fix:审核处理

---
 src/main/resources/mapper/statisticsAnalysis/FlowerMaterialMapper.xml |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/statisticsAnalysis/FlowerMaterialMapper.xml b/src/main/resources/mapper/statisticsAnalysis/FlowerMaterialMapper.xml
index aa62080..67746bd 100644
--- a/src/main/resources/mapper/statisticsAnalysis/FlowerMaterialMapper.xml
+++ b/src/main/resources/mapper/statisticsAnalysis/FlowerMaterialMapper.xml
@@ -125,8 +125,17 @@
             ))
 
         </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.flowerStatus != null and dto.flowerStatus != ''">
+            AND f.status = #{dto.flowerStatus}
         </if>
         <if test="dto.flowerLevel !=null and dto.flowerLevel !=''">
             AND  f.`level` = #{dto.flowerLevel}

--
Gitblit v1.9.3