陶杰
2025-01-09 1fe9a1c594c40324b64f2822b2381e741fa231fc
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}