From 70d2a5d0f9c6951b2d4cac954041ed73582ff7eb Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期一, 09 六月 2025 11:54:00 +0800 Subject: [PATCH] 6.9新增登录失败冻结逻辑 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/McsGameDAO.java | 26 ++++++++++++++++++-------- 1 files changed, 18 insertions(+), 8 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/McsGameDAO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/McsGameDAO.java index 98ebeca..18485d3 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/McsGameDAO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/McsGameDAO.java @@ -58,16 +58,18 @@ /** * 查询商家下已被领取的卷总数 * @param merchantId + * @param type * @return */ - Integer selectAppliedCount(@Param("merchantId") Long merchantId); + Integer selectAppliedCount(@Param("merchantId") Long merchantId, @Param("type") Integer type); /** * 查询商家下已被核销的卷总数 * @param merchantId + * @param type * @return */ - Integer selectVerifiedCount(@Param("merchantId") Long merchantId); + Integer selectVerifiedCount(@Param("merchantId") Long merchantId, @Param("type") Integer type); /** * 获取热门游戏 @@ -78,15 +80,10 @@ /** * h5分页游戏查询 * @param page - * @param minX - * @param maxX - * @param minY - * @param maxY * @param pageMcsGameDTO * @return */ - IPage<McsGameVO> pageH5McsGame(@Param("page") Page page, @Param("minX") Double minX, @Param("maxX") Double maxX, - @Param("minY") Double minY, @Param("maxY") Double maxY, @Param("pageMcsGameDTO") PageMcsGameDTO pageMcsGameDTO); + IPage<McsGameVO> pageH5McsGame(@Param("page") Page page, @Param("pageMcsGameDTO") PageMcsGameDTO pageMcsGameDTO); /** * 游戏详情 @@ -94,4 +91,17 @@ * @return */ McsGameVO selectDetailById(@Param("gameId") Long gameId); + + /** + * 通过商家id批量下架戳戳游戏 + * @param needDealIds + * @return + */ + Integer setOffByMerchantIds(@Param("needDealIds") List<Long> needDealIds); + + /** + * 获取需要处理的到期数据 + * @return + */ + List<McsGame> selectNeedDealExpire(); } -- Gitblit v1.7.1