| | |
| | | package com.example.jz.dao; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.example.jz.modle.dto.ReportParamDto; |
| | | import com.example.jz.modle.entity.Report; |
| | | import com.example.jz.modle.vo.ReportListVo; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 报案表(Report)表数据库访问层 |
| | |
| | | * @author makejava |
| | | * @since 2022-07-13 11:52:58 |
| | | */ |
| | | @Mapper |
| | | public interface ReportDao extends BaseMapper<Report> { |
| | | |
| | | Page<ReportListVo> getPage(Page<ReportListVo> page,@Param("reportParamDto") ReportParamDto reportParamDto); |
| | | |
| | | ReportListVo getReportListVoById(Serializable id); |
| | | |
| | | List<ReportListVo> getPageByGroupId( ReportParamDto reportParamDto, Integer causeId,Long size,Long current); |
| | | |
| | | Integer getPageByGroupIdCount(ReportParamDto reportParamDto, Integer causeId); |
| | | |
| | | List<Report> selectListGroup(Integer id); |
| | | |
| | | Report selectReportByReportId(Integer id); |
| | | } |
| | | |