From 26d018d32e75438b764f4460cedb212027cec2d4 Mon Sep 17 00:00:00 2001
From: wzy <wzy19931122ai@163.com>
Date: Thu, 20 Oct 2022 23:20:36 +0800
Subject: [PATCH] fix
---
src/main/resources/mapper/WebSetMapper.xml | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/WebSetMapper.xml b/src/main/resources/mapper/WebSetMapper.xml
index d70179d..c802dc4 100644
--- a/src/main/resources/mapper/WebSetMapper.xml
+++ b/src/main/resources/mapper/WebSetMapper.xml
@@ -11,4 +11,17 @@
where a.company_id=#{companyId} and a.company_id=b.id
</select>
+ <select id="selectSiteGlobalSetting" resultType="java.util.Map">
+ select
+ a.title title,
+ a.seo_title seoTitle,
+ a.seo_keyword seoKeyword,
+ a.seo_description seoDescription,
+ a.logo_url logo,
+ b.web_address baseUrl,
+ b.code companyCode
+ from t_web_setting a, t_company b
+ where a.company_id=#{companyId} and a.company_id=b.id
+ </select>
+
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1