From 91991096ba5c8fb27399b317715c76b2c43a15f1 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期一, 30 十二月 2024 15:35:06 +0800 Subject: [PATCH] 小程序 --- manage/src/main/resources/mapping/TFrameGoods.xml | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manage/src/main/resources/mapping/TFrameGoods.xml b/manage/src/main/resources/mapping/TFrameGoods.xml index c2957ae..67379d2 100644 --- a/manage/src/main/resources/mapping/TFrameGoods.xml +++ b/manage/src/main/resources/mapping/TFrameGoods.xml @@ -36,16 +36,16 @@ <if test="query.status != null "> and t1.status = #{query.status} </if> - <if test="query.isWarning != null and query.isWarning = 1"> + <if test="query.isWarning != null and query.isWarning == 1"> and t1.total < t7.frameThreshold </if> - <if test="query.isWarning != null and query.isWarning = 2"> + <if test="query.isWarning != null and query.isWarning == 2"> and t1.total >= t7.frameThreshold </if> <if test="query.startCount != null and query.endCount != null"> and t1.total between #{query.startCount} and #{query.endCount} </if> - and t1.isDelete = ${@com.jilongda.common.enums.DisabledEnum@NO.getCode()} + and t1.isDelete = 0 order by t1.id </select> -- Gitblit v1.7.1