KKSU
2024-03-20 5b3ee26fed3c92253bef4e26a65e29a5dc7ba04d
src/main/resources/mapper/CmsFriendlyLinkMapper.xml
@@ -20,4 +20,11 @@
        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>