From 6be7ef11a7af2e8ab7da268a4de0b5ce0b1912db Mon Sep 17 00:00:00 2001 From: zainali5120 <512061637@qq.com> Date: Tue, 20 Oct 2020 22:20:59 +0800 Subject: [PATCH] 优化卖出限制,使用redis配置进行控制 --- src/main/java/com/xcong/excoin/modules/home/dao/MemberQuickBuySaleDao.java | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/xcong/excoin/modules/home/dao/MemberQuickBuySaleDao.java b/src/main/java/com/xcong/excoin/modules/home/dao/MemberQuickBuySaleDao.java index 5c44e50..9f0f27f 100644 --- a/src/main/java/com/xcong/excoin/modules/home/dao/MemberQuickBuySaleDao.java +++ b/src/main/java/com/xcong/excoin/modules/home/dao/MemberQuickBuySaleDao.java @@ -1,5 +1,14 @@ package com.xcong.excoin.modules.home.dao; -public class MemberQuickBuySaleDao { +import org.apache.ibatis.annotations.Param; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xcong.excoin.modules.home.entity.MemberQuickBuySaleEntity; + +public interface MemberQuickBuySaleDao extends BaseMapper<MemberQuickBuySaleEntity> { + + MemberQuickBuySaleEntity selectByIdAndMemberId(@Param("memberId")Long memberId,@Param("id")Long id); + + int updateQuickBuySaleTimeOut(); } -- Gitblit v1.9.1