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/ComActReserveMapper.java | 64 ++++++++++++++++++++++++++++++++ 1 files changed, 64 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActReserveMapper.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActReserveMapper.java index 5f4588d..c6c3e47 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActReserveMapper.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActReserveMapper.java @@ -5,9 +5,15 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.panzhihua.common.model.dtos.community.reserve.ComActReserveMakeStatisticsDTO; import com.panzhihua.common.model.dtos.community.reserve.PageReserveAdminDTO; +import com.panzhihua.common.model.vos.community.bigscreen.IndexReserve; +import com.panzhihua.common.model.vos.community.bigscreen.IndexReserveSub; import com.panzhihua.common.model.vos.community.reserve.ComActReserveListAdminVO; import com.panzhihua.common.model.vos.community.reserve.ComActReserveMakeLeftStatisticsAdminVO; import com.panzhihua.common.model.vos.community.reserve.ComActReserveMakeRightStatisticsAdminVO; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import com.panzhihua.common.model.dtos.community.PageUserReserveDTO; +import com.panzhihua.common.model.vos.community.ComActReserveIndexVo; import com.panzhihua.service_community.model.dos.ComActReserveDO; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; @@ -21,6 +27,18 @@ */ @Mapper public interface ComActReserveMapper extends BaseMapper<ComActReserveDO> { + /** + * 查询预约登记首页banner + * @param communityId + * @return 预约登记首页banner列表 + */ + List<ComActReserveIndexVo> indexBanner(Long communityId); + /** + * 查询预约登记应用列表 + * @param communityId + * @return 预约登记应用列表 + */ + List<ComActReserveIndexVo> indexApplication(Long communityId); /** * 社区后台-分页查询预约登记列表 @@ -65,5 +83,51 @@ */ List<ComActReserveListAdminVO> listReserveAdmin(@Param("communityId") Long communityId); + /** + * 取消预约时,预约登记参加人数减少 + * @param reserveId 预约登记id + */ + void addReserveCountById(@Param("reserveId") Long reserveId); + /** + * 小程序查询所有进行中的预约登记 + * @param communityId 社区id + * @return 社区所有进行中的预约登记列表 + */ + List<ComActReserveIndexVo> getReserveIndexList(@Param("communityId") Long communityId); + + /** + * 首页大屏返攀登记数据统计总数 + * @param communityId + * @return + */ + Integer indexBackReserve(@Param("communityId") Long communityId); + + /** + * 首页大屏居家隔离数据统计总数 + * @param communityId + * @return + */ + Integer indexHomeQuarantine(@Param("communityId") Long communityId); + + /** + * 首页大屏返攀登记数据统计选项 + * @param communityId + * @return + */ + List<IndexReserveSub> indexBackReserveSub(@Param("communityId") Long communityId); + + /** + * 首页大屏居家隔离数据统计选项 + * @param communityId + * @return + */ + List<IndexReserveSub> IndexHomeQuarantineSub(@Param("communityId") Long communityId); + + /** + * reserveId查询社区电话 + * @param reserveId + * @return + */ + String selectCommunityPhoneByReserveId(@Param("reserveId")Long reserveId); } -- Gitblit v1.7.1