From dd59c95e87ba585c4e3e2f059e218853784402e5 Mon Sep 17 00:00:00 2001
From: zhangfeng <1603559716@qq.com>
Date: 星期三, 26 七月 2023 11:17:31 +0800
Subject: [PATCH] 附件上传接口

---
 src/main/java/com/gk/hotwork/Mapper/mybatis/InspectionHiddenDangerMapper.xml |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/gk/hotwork/Mapper/mybatis/InspectionHiddenDangerMapper.xml b/src/main/java/com/gk/hotwork/Mapper/mybatis/InspectionHiddenDangerMapper.xml
index a2eb5b0..735e914 100644
--- a/src/main/java/com/gk/hotwork/Mapper/mybatis/InspectionHiddenDangerMapper.xml
+++ b/src/main/java/com/gk/hotwork/Mapper/mybatis/InspectionHiddenDangerMapper.xml
@@ -30,8 +30,11 @@
         <if test="params.inspectionName != null  and params.inspectionName != ''">
             and s.inspection_name like concat("%",#{params.inspectionName},"%")
         </if>
+        <if test="params.checkedCompanyId != null and params.checkedCompanyId != ''">
+            and s.checked_company_id like concat("%",#{params.checkedCompanyId},"%")
+        </if>
         <if test="params.checkedCompanyName != null and params.checkedCompanyName != ''">
-            and h.checked_company_name like concat("%",#{params.checkedCompanyName},"%")
+            and s.checked_company_name like concat("%",#{params.checkedCompanyName},"%")
         </if>
         <if test="params.flag != null  and params.flag != '' ">
             and s.flag = #{params.flag}

--
Gitblit v1.9.2