From 06bc26e0f7639ba93b402acf8252c1c20a85b8c6 Mon Sep 17 00:00:00 2001
From: heheng <heheng@123456>
Date: 星期四, 23 一月 2025 16:14:58 +0800
Subject: [PATCH] 特种作业非煤缴费版本优化

---
 exam-system/src/main/resources/mapper/institutionaccess/ThCertMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/exam-system/src/main/resources/mapper/institutionaccess/ThCertMapper.xml b/exam-system/src/main/resources/mapper/institutionaccess/ThCertMapper.xml
index ae52354..581bc7e 100644
--- a/exam-system/src/main/resources/mapper/institutionaccess/ThCertMapper.xml
+++ b/exam-system/src/main/resources/mapper/institutionaccess/ThCertMapper.xml
@@ -7,7 +7,7 @@
         select a.*,b.batch_name  from th_cert a
         left join th_batch b on a.batch_uuid=b.uuid
         <where>
-            and a.del_flag=0
+            and a.del_flag=0 and b.del_flag =0
             <if test="institutionName!=null and institutionName!=''">
                  and a.institution_name =#{institutionName}
             </if>

--
Gitblit v1.9.2