From 724940bd3838bdfb7da87a9528a532a5c9d2804d Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Thu, 27 Jun 2024 11:14:36 +0800
Subject: [PATCH] 添加筛选条件
---
src/main/resources/mybatis/tr/TbSpecialCheckScoreAndDangerLogMapper.xml | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/src/main/resources/mybatis/tr/TbSpecialCheckScoreAndDangerLogMapper.xml b/src/main/resources/mybatis/tr/TbSpecialCheckScoreAndDangerLogMapper.xml
index 5428b9b..62e24e1 100644
--- a/src/main/resources/mybatis/tr/TbSpecialCheckScoreAndDangerLogMapper.xml
+++ b/src/main/resources/mybatis/tr/TbSpecialCheckScoreAndDangerLogMapper.xml
@@ -38,7 +38,7 @@
<where>
deleted = 0
<if test="id != null">
- and check_item_id = #{id}
+ and check_score_id = #{id}
</if>
<if test="checkType != null">
and check_type like concat('%',#{checkType},'%')
@@ -153,9 +153,6 @@
</if>
<if test="checkDate != null">
check_date = #{checkDate},
- </if>
- <if test="resultStatus != null">
- result_status = #{resultStatus},
</if>
<if test="reportStatus != null">
report_status = #{reportStatus},
--
Gitblit v1.9.2