From 1c3005a6b1ebc5d355faf1d01f6bfb647b80700c Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: 星期四, 17 七月 2025 17:15:35 +0800
Subject: [PATCH] 修改

---
 multi-system/src/main/resources/mapper/system/CompanyIndustryTemplateMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/multi-system/src/main/resources/mapper/system/CompanyIndustryTemplateMapper.xml b/multi-system/src/main/resources/mapper/system/CompanyIndustryTemplateMapper.xml
index 5106e1c..cf76a5c 100644
--- a/multi-system/src/main/resources/mapper/system/CompanyIndustryTemplateMapper.xml
+++ b/multi-system/src/main/resources/mapper/system/CompanyIndustryTemplateMapper.xml
@@ -89,6 +89,9 @@
         <if test="type!=null and type!=''">
             and ci.type like concat('%',#{type},'%')
         </if>
+        <if test="templateName!=null and templateName!=''">
+            and ci.`template_name` like concat('%',#{templateName},'%')
+        </if>
         ORDER BY
         CAST(SUBSTRING_INDEX(ci.chapter, '.', 1) AS UNSIGNED) ASC,
         CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(ci.chapter, '.', 2), '.', -1) AS UNSIGNED) ASC,  -- 第二级

--
Gitblit v1.9.2