From 6a07f220e8f855740eee9b9dcae75464d6266380 Mon Sep 17 00:00:00 2001 From: wzy <wzy19931122ai@163.com> Date: Thu, 20 Oct 2022 22:53:10 +0800 Subject: [PATCH] 修复分页死循环 --- src/main/resources/mapper/CmsAdInfoMapper.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/CmsAdInfoMapper.xml b/src/main/resources/mapper/CmsAdInfoMapper.xml index 2ff7e8c..be38cd1 100644 --- a/src/main/resources/mapper/CmsAdInfoMapper.xml +++ b/src/main/resources/mapper/CmsAdInfoMapper.xml @@ -14,4 +14,7 @@ </if> </select> + <select id="selectByGroupIdAndCompanyId" resultType="com.xcong.farmer.cms.modules.system.entity.CmsAdInfoEntity"> + select * from cms_ad_info where group_id=#{groupId} and company_id=#{companyId} + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.1