| | |
| | | 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.PageReserveRegisterDetailedAdminDTO; |
| | | import com.panzhihua.common.model.vos.community.ComActQuestnaireAnswerContentVO; |
| | | import com.panzhihua.common.model.vos.community.reserve.ComActReserveRegisterDetailedAnswerVO; |
| | | import com.panzhihua.common.model.vos.community.reserve.ComActReserveRegisterDetailedVO; |
| | | import com.panzhihua.common.model.vos.community.reserve.FiveCount; |
| | | import com.panzhihua.common.model.vos.community.reserve.HomeQuarantineRegisterStatisticsVO; |
| | | import com.panzhihua.service_community.model.dos.ComActReserveAnswerContentDO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | |
| | | @Mapper |
| | | public interface ComActReserveAnswerContentMapper extends BaseMapper<ComActReserveAnswerContentDO> { |
| | | |
| | | List<ComActReserveAnswerContentDO> selectListByReserve(@Param("registerStatisticsDTO")Long reserveId); |
| | | /** |
| | | * 查询用户填写登记类答案记录列表 |
| | | * @param reserveId 预约登记id |
| | | * @return 登记类答案记录列表 |
| | | */ |
| | | List<ComActQuestnaireAnswerContentVO> selectListByReserve(@Param("reserveId")Long reserveId); |
| | | |
| | | /** |
| | | * 分页查询用户填写某预约登记记录列表 |
| | | * @param page 分页参数 |
| | | * @param detailedAdminDTO 请求参数 |
| | | * @return 某预约登记记录列表 |
| | | */ |
| | | IPage<ComActReserveRegisterDetailedVO> pageRegisterDetailedListAdmin(Page page, @Param("detailedAdminDTO") PageReserveRegisterDetailedAdminDTO detailedAdminDTO); |
| | | |
| | | /** |
| | | * 查询用户填写某预约登记记录列表 |
| | | * @param detailedAdminDTO 请求参数 |
| | | * @return 某预约登记记录列表 |
| | | */ |
| | | List<ComActReserveRegisterDetailedVO> pageRegisterDetailedListAdminExport(@Param("detailedAdminDTO") PageReserveRegisterDetailedAdminDTO detailedAdminDTO); |
| | | /** |
| | | * 导出某预约登记记录列表 |
| | | * @param detailedAdminDTO 请求参数 |
| | | * @return 某预约登记记录列表 |
| | | */ |
| | | List<ComActQuestnaireAnswerContentVO> export(@Param("detailedAdminDTO") PageReserveRegisterDetailedAdminDTO detailedAdminDTO); |
| | | /** |
| | | * 查询登记记录填写的内容列表 |
| | | * @param reserveRecordId 预约登记记录id |
| | | * @return 登记记录填写的内容列表 |
| | | */ |
| | | List<ComActReserveRegisterDetailedAnswerVO> getRegisterDetailedAnswerList(@Param("reserveRecordId")Long reserveRecordId); |
| | | |
| | | ComActReserveRegisterDetailedVO getRegisterDetailedById(@Param("reserveRecordId") Long reserveRecordId); |
| | | |
| | | IPage<String> pageRegisterHomeQuarantine(@Param("page") Page page, @Param("detailedAdminDTO") PageReserveRegisterDetailedAdminDTO detailedAdminDTO); |
| | | |
| | | List<HomeQuarantineRegisterStatisticsVO> selectStatistics(@Param("reserveId") Long reserveId, @Param("record") String record); |
| | | |
| | | /** |
| | | * 查询居家隔离统计身份证号码 |
| | | * @param detailedAdminDTO |
| | | * @return |
| | | */ |
| | | List<String> exportHomeQuarantine(@Param("detailedAdminDTO") PageReserveRegisterDetailedAdminDTO detailedAdminDTO); |
| | | |
| | | /** |
| | | * 5个常规数据查询 |
| | | * @param reserveId |
| | | * @return |
| | | */ |
| | | FiveCount fiveCount(Long reserveId); |
| | | } |