From e16ac98e0d1049d18c508799d64f11d942c74920 Mon Sep 17 00:00:00 2001 From: Administrator <15274802129@163.com> Date: Sun, 27 Apr 2025 14:32:57 +0800 Subject: [PATCH] refactor(votesActivity): 修改自主报名字段名称 --- src/main/resources/mapper/modules/MallVipBenefitsMapper.xml | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/MallVipBenefitsMapper.xml b/src/main/resources/mapper/modules/MallVipBenefitsMapper.xml index ce44de8..f04bd59 100644 --- a/src/main/resources/mapper/modules/MallVipBenefitsMapper.xml +++ b/src/main/resources/mapper/modules/MallVipBenefitsMapper.xml @@ -39,4 +39,21 @@ left join mall_vip_benefits_details benefitsDetail on benefits.id=benefitsDetail.benefits_id where benefits.id=#{id} </select> + + <select id="selectVipBenefitsByIds" resultMap="VipBenefitsMap"> + select + benefits.*, + benefitsDetail.id c_id + ,benefitsDetail.image + ,benefitsDetail.is_click + ,benefitsDetail.link_type + ,benefitsDetail.content + ,benefitsDetail.seq + from mall_vip_benefits benefits + left join mall_vip_benefits_details benefitsDetail on benefits.id=benefitsDetail.benefits_id + where benefits.id in + <foreach collection="list" open="(" close=")" separator=","> + #{item} + </foreach> + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.1