| | |
| | | package com.panzhihua.service_community.dao; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | 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.reserve.ComActReserveListAdminVO; |
| | | import com.panzhihua.common.model.vos.community.reserve.ComActReserveMakeLeftStatisticsAdminVO; |
| | | import com.panzhihua.common.model.vos.community.reserve.ComActReserveMakeRightStatisticsAdminVO; |
| | | import com.panzhihua.service_community.model.dos.ComActReserveDO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @auther lyq |
| | |
| | | @Mapper |
| | | public interface ComActReserveMapper extends BaseMapper<ComActReserveDO> { |
| | | |
| | | /** |
| | | * 社区后台-分页查询预约登记列表 |
| | | * @param pageReserveDTO 请求参数 |
| | | * @return 预约登记列表 |
| | | */ |
| | | IPage<ComActReserveListAdminVO> pageReserveAdmin(Page page, @Param("pageReserveDTO") PageReserveAdminDTO pageReserveDTO); |
| | | |
| | | /** |
| | | * 根据预约登记id删除预约登记原有题目以及题目选项 |
| | | * @param reserveId 预约登记id |
| | | */ |
| | | void deleteReserveSubAll(@Param("reserveId") Long reserveId); |
| | | |
| | | /** |
| | | * 社区后台-根据社区id查询预约统计汇总左边数据 |
| | | * @param communityId 社区id |
| | | * @return 预约统计汇总左边数据 |
| | | */ |
| | | List<ComActReserveMakeLeftStatisticsAdminVO> getReserveMakeLeftStatistics(@Param("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 社区后台-查询预约统计汇总右边数据 |
| | | * @param makeStatisticsDTO 请求参数 |
| | | * @return 预约统计汇总右边数据 |
| | | */ |
| | | List<ComActReserveMakeRightStatisticsAdminVO> getReserveMakeRightStatistics(@Param("makeStatisticsDTO") ComActReserveMakeStatisticsDTO makeStatisticsDTO); |
| | | |
| | | /** |
| | | * 社区后台-根据社区id 查询开始时间到结束时间预约成功数量 |
| | | * @param communityId 社区id |
| | | * @param startTime 开始时间 |
| | | * @param endTime 结束时间 |
| | | * @return 预约成功数量 |
| | | */ |
| | | Integer getReserveRecordCount(@Param("communityId") Long communityId,@Param("startTime") String startTime,@Param("endTime") String endTime); |
| | | |
| | | /** |
| | | * 查询社区所有预约信息列表 |
| | | * @param communityId 社区id |
| | | * @return 预约信息列表 |
| | | */ |
| | | List<ComActReserveListAdminVO> listReserveAdmin(@Param("communityId") Long communityId); |
| | | |
| | | |
| | | } |