From 83d3dbeb477e1bae7b9f80cbe46c4e4c619175b5 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Mon, 30 Sep 2024 16:33:41 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.0.122:9527/r/cms into xincheng --- src/main/resources/mapper/CmsFriendlyLinkMapper.xml | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/CmsFriendlyLinkMapper.xml b/src/main/resources/mapper/CmsFriendlyLinkMapper.xml index e129cca..edfe4b4 100644 --- a/src/main/resources/mapper/CmsFriendlyLinkMapper.xml +++ b/src/main/resources/mapper/CmsFriendlyLinkMapper.xml @@ -16,4 +16,15 @@ </where> </select> + <select id="selectByGroupIdAndCompanyId" resultType="com.xcong.farmer.cms.modules.system.entity.CmsFriendlyLinkEntity"> + select * from cms_friendly_link + where group_id=#{groupId} and company_id=#{companyId} + </select> + + <select id="selectByGroupCodeAndCompanyId" resultType="com.xcong.farmer.cms.modules.system.entity.CmsFriendlyLinkEntity"> + select + * + from cms_friendly_link a, cms_group_info b + where a.group_id=b.id and b.code=#{code} and a.company_id=#{companyId} + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.1