From 326c87fed063066712ebb9e408a30d669f8681d3 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期一, 17 六月 2024 09:36:08 +0800 Subject: [PATCH] 添加 --- src/main/resources/mybatis/tr/TbSpecialCheckItemDangerLogMapper.xml | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/resources/mybatis/tr/TbSpecialCheckItemDangerLogMapper.xml b/src/main/resources/mybatis/tr/TbSpecialCheckItemDangerLogMapper.xml index 1591667..8530642 100644 --- a/src/main/resources/mybatis/tr/TbSpecialCheckItemDangerLogMapper.xml +++ b/src/main/resources/mybatis/tr/TbSpecialCheckItemDangerLogMapper.xml @@ -41,11 +41,11 @@ select * from tb_special_check_item_danger_log <where> deleted = 0 - <if test="indexId != null"> - and index_id = #{indexId} + <if test="id != null"> + and task_id = #{id} </if> - <if test="checkWay != null"> - and check_way like concat('%',#{checkWay},'%') + <if test="checkType != null"> + and check_type like concat('%',#{checkType},'%') </if> <if test="reportStatus != null"> and report_status = #{reportStatus} -- Gitblit v1.9.2