New file |
| | |
| | | package com.dy.pipIrrGlobal.daoOp; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.dy.pipIrrGlobal.pojoOp.OpeIssueReport; |
| | | import com.dy.pipIrrGlobal.voOp.VoIssueReport_temp; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @author ZhuBaoMin |
| | | * @date 2024-11-11 16:18 |
| | | * @LastEditTime 2024-11-11 16:18 |
| | | * @Description |
| | | */ |
| | | |
| | | @Mapper |
| | | public interface OpeIssueReportMapper extends BaseMapper<OpeIssueReport> { |
| | | int deleteByPrimaryKey(Long id); |
| | | |
| | | int insert(OpeIssueReport record); |
| | | |
| | | int insertSelective(OpeIssueReport record); |
| | | |
| | | OpeIssueReport selectByPrimaryKey(Long id); |
| | | |
| | | int updateByPrimaryKeySelective(OpeIssueReport record); |
| | | |
| | | int updateByPrimaryKey(OpeIssueReport record); |
| | | |
| | | /** |
| | | * 根据指定条件获取巡检员问题上报数量 |
| | | * @param params |
| | | * @return |
| | | */ |
| | | Long getIssueReportsCount(Map<?, ?> params); |
| | | |
| | | /** |
| | | * 根据指定条件获取巡检员问题上报 |
| | | * @param params |
| | | * @return |
| | | */ |
| | | List<VoIssueReport_temp> getIssueReports(Map<?, ?> params); |
| | | |
| | | /** |
| | | * 根据上报ID及巡检员ID获取未删除的上报,删除上报判断使用 |
| | | * @param issueReportId |
| | | * @param inspectorId |
| | | * @return |
| | | */ |
| | | OpeIssueReport getReport(@Param("issueReportId")Long issueReportId, @Param("inspectorId")Long inspectorId); |
| | | |
| | | /** |
| | | * 逻辑删除一个农户问题上报 |
| | | * @param issueReportId |
| | | * @return |
| | | */ |
| | | /** |
| | | * 逻辑删除一个巡检员问题上报 |
| | | * @param issueReportId |
| | | * @return |
| | | */ |
| | | Integer deleteIssueReport(Long issueReportId); |
| | | |
| | | /** |
| | | * 根据问题上报记录主键获取获取巡检员问题上报记录视图对象 |
| | | * @param issueReportId |
| | | * @return |
| | | */ |
| | | VoIssueReport_temp getIssueReportById(Long issueReportId); |
| | | } |