package com.dy.pipIrrGlobal.daoSe;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.dy.pipIrrGlobal.pojoSe.SeIssueReport;
|
import com.dy.pipIrrGlobal.voSe.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-10-29 16:53
|
* @LastEditTime 2024-10-29 16:53
|
* @Description
|
*/
|
|
@Mapper
|
public interface SeIssueReportMapper extends BaseMapper<SeIssueReport> {
|
int deleteByPrimaryKey(Long id);
|
|
int insert(SeIssueReport record);
|
|
int insertSelective(SeIssueReport record);
|
|
SeIssueReport selectByPrimaryKey(Long id);
|
|
int updateByPrimaryKeySelective(SeIssueReport record);
|
|
int updateByPrimaryKey(SeIssueReport record);
|
|
/**
|
* 根据指定条件获取农户问题上报数量
|
* @param params
|
* @return
|
*/
|
Long getIssueReportsCount(Map<?, ?> params);
|
|
/**
|
* 根据指定条件获取农户问题上报
|
* @param params
|
* @return
|
*/
|
List<VoIssueReport_temp> getIssueReports(Map<?, ?> params);
|
|
/**
|
* 根据上报ID及农户ID获取未删除的上报,删除上报判断使用
|
* @param issueReportId
|
* @param clientId
|
* @return
|
*/
|
SeIssueReport getReport(@Param("issueReportId")Long issueReportId, @Param("clientId")Long clientId);
|
|
/**
|
* 逻辑删除一个农户问题上报
|
* @param issueReportId
|
* @return
|
*/
|
Integer deleteIssueReport(Long issueReportId);
|
}
|