KKSU
2024-12-20 19c3da86d8c6adcb91baccac6981c63307e3dba1
src/main/resources/mapper/modules/MallActLuckdrawRecordMapper.xml
@@ -27,4 +27,12 @@
        order by a.created_time desc
    </select>
    <select id="selectRecordByMemberIdAndActId" resultType="cc.mrbird.febs.mall.entity.MallActLuckdrawRecord">
        select
        a.*
        from mall_act_luckdraw_record a
        where a.member_id = #{memberId} and a.act_id = #{actId}
        order by a.created_time desc limit 0,10
    </select>
</mapper>