liurunyu
2024-12-03 07648f0083e80cc590ba8bc77a9e72be5ad66748
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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);
}