xiaoyong931011
2023-03-17 2cb25f9207a432a01b72b32b3b5ab8fc7e00da5a
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>