zhubaomin
2024-12-03 e36d6d9718f6e0bd6c262ffbec46938674f33008
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
62
63
64
65
66
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);
}