From b492e64e491596b0af149f1a5d679b77f47dafcd Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Tue, 09 Jan 2024 16:31:33 +0800
Subject: [PATCH] 首页菜单的首页二字改成英文的Main

---
 src/main/resources/mapper/CmsTemplateMapper.xml |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/CmsTemplateMapper.xml b/src/main/resources/mapper/CmsTemplateMapper.xml
index 57c06f3..a4af9d7 100644
--- a/src/main/resources/mapper/CmsTemplateMapper.xml
+++ b/src/main/resources/mapper/CmsTemplateMapper.xml
@@ -27,4 +27,12 @@
                 and company_id = #{companyId}
             </if>
     </select>
+
+    <select id="selectByPathAndCompanyId" resultType="com.xcong.farmer.cms.modules.system.entity.CmsTemplateEntity">
+        select * from cms_template
+            where path = #{path}
+            <if test="companyId != null and companyId != 0">
+                and company_id = #{companyId}
+            </if>
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1