From cbbd5469271a8486bd28db82ad3627434f6a1d17 Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期三, 29 五月 2024 14:09:06 +0800 Subject: [PATCH] 花城 修改随手拍管理模块:第一次处理随手拍内容,提示:该随手拍已处理,不可重复操作。需修改为:该随手拍已处理。若是再次点击处理按钮才提示:该随手拍已处理,不可重复操作2 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/McsGameDAO.java | 40 ++++++++++++++++++++++++++++++++++++++-- 1 files changed, 38 insertions(+), 2 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 cb1b332..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,14 +58,50 @@ /** * 查询商家下已被领取的卷总数 * @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); + + /** + * 获取热门游戏 + * @return + */ + McsGameVO selectPopularGame(); + + /** + * h5分页游戏查询 + * @param page + * @param pageMcsGameDTO + * @return + */ + IPage<McsGameVO> pageH5McsGame(@Param("page") Page page, @Param("pageMcsGameDTO") PageMcsGameDTO pageMcsGameDTO); + + /** + * 游戏详情 + * @param gameId + * @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