郑永安
2023-09-19 69185134fcfaf913ea45f1255677225a2cc311a4
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
67
68
69
70
71
72
73
package com.gk.hotwork.doublePrevention.service.baseService;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gk.hotwork.doublePrevention.entity.PreventDangerRectify;
import com.gk.hotwork.doublePrevention.entity.dto.req.PreventDangerRectifyQueryReqDTO;
import com.gk.hotwork.doublePrevention.entity.dto.req.PreventRectifyOverQueryReqDTO;
import com.gk.hotwork.doublePrevention.repository.param.*;
 
public interface PreventDangerRectifyService extends IService<PreventDangerRectify> {
 
    /**
     * 隐患整改清单-分页查询
     */
    IPage<PreventDangerRectify> getDangerRectifyPage(Page<Object> objectPage, PreventDangerRectifyQueryReqDTO rectifyQueryReqDTO);
    /**
     * 隐患整改清单-新增
     */
    int saveDangerRectify(PreventDangerRectify dangerRectify);
    /**
     * 隐患整改清单-修改
     */
    int updateDangerRectify(PreventDangerRectifyUpdateParams updateParams);
    /**
     * 隐患整改清单-删除
     */
    int deleteDangerRectify(PreventDeleteParams deleteParams);
    /**
     * 隐患整改清单-根据隐患单Code查询
     */
    PreventDangerRectify getRectifyByCode(String dangerCode);
    /**
     * 隐患整改清单-延期
     */
    int updateRectifyTime(PreventDangerRectifyUpdateParams updateParams);
    /**
     * 隐患整改清单-根据ID查询
     */
    PreventDangerRectify getRectifyById(Long id);
    /**
     * 隐患整改清单-验收申请
     */
    int applyReport(PreventDangerReportRectifyUpdayeParams reportParams);
    /**
     * 隐患整改清单-验收
     */
    int reportRectify(PreventDangerReportRectifyUpdayeParams reportParams);
    /**
     * 隐患整改清单-关闭整改单
     */
    int closeDanger(CloseDangerParams closeDangerParams);
    /**
     * 隐患整改清单-关闭整改单
     */
    IPage<PreventDangerRectify> getRectifyOverPage(Page<Object> objectPage, PreventRectifyOverQueryReqDTO rectifyOverQueryReqDTO);
 
 
    IPage<PreventDangerRectify> getDangerRectifyPageToOverRectify(Page<Object> objectPage, PreventRectifyOverQueryReqDTO rectifyOverQueryReqDTO);
    /**
     * 隐患整改清单-根据ManageID查询
     */
    PreventDangerRectify getRectifyByManageId(Long manageId);
    /**
     * 隐患整改清单-根据ManageID查询-包含删除数据
     */
    PreventDangerRectify getRectifyByManageIdForReport(Long manageId);
 
    /**
     * 隐患整改清单-变更上报状态
     */
    void updateRectifyReportStatus(HandlerReportParam handlerReportParam);
}