双重预防项目-国泰新华二开定制版
kongzy
2024-08-14 135a322f44708b1187d37ea4b6859b5d82113e89
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
package com.ruoyi.doublePrevention.repository;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.doublePrevention.entity.CJReport.PreventCJReportDangerInfo;
import com.ruoyi.doublePrevention.repository.param.HandlerCJReportParam;
import com.ruoyi.doublePrevention.repository.param.HandlerReportParam;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
@Repository
public interface PreventCJReportDangerInfoRepository extends BaseMapper<PreventCJReportDangerInfo> {
//
//    /**
//     * 上报数据-隐患信息-分页查询
//     */
//    IPage<PreventCJReportDangerInfo> getReportDangerInfoPage(Page<Object> objectPage, PreventReportDangerInfoReqDTO queryReqDTO);
    /**
     * 上报数据-待上报数据查询
     */
    List<PreventCJReportDangerInfo> listReportDangerDate();
    /**
     * 上报数据-待上报状态变更
     */
    int updateTaskReportStatus(HandlerReportParam handlerReportParam);
    /**
     * 上报数据-待上报状态变更-通过id
     */
    int updateCJReportStatusById(HandlerCJReportParam handlerCJReportParam);
    /**
     * 上报数据-插入
     */
    int insertDangerInfo(PreventCJReportDangerInfo danger);
 
    List<PreventCJReportDangerInfo> getDangerListForCheckTask();
 
    PreventCJReportDangerInfo getDangerById(String dangerId);
}