IInspectionTaskService.java
1.5 KB
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
package com.skua.modules.inspection.service;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.skua.modules.inspection.entity.InspectionTask;
import com.skua.modules.inspection.vo.InspectionTaskVO;
import java.util.List;
import java.util.Map;
/**
* 巡检任务
*/
public interface IInspectionTaskService extends IService<InspectionTask> {
InspectionTaskVO getTaskByInspectionPlanId(QueryWrapper<InspectionTask> inspectionTaskQueryWrapper);
List<InspectionTaskVO> getInspectionTask(QueryWrapper<InspectionTaskVO> inspectionTaskVOQueryWrapper);
void finishInspectionTask(String userId, String taskId) throws Exception ;
InspectionTask addInpsectionTask(String inspectionPlanId, String userId, Integer inspectionCycleIndex, String inspectionCycleStartDate)throws Exception;
List<JSONObject> getInspectionTaskByUserId(String userId,String moduleType)throws Exception;
String checkInspectionTriggerMode(String taskId, String code);
List<Map<String, Object>> getInspectionPointByTaskId(String taskId);
List<Map<String, Object>> getInspectionFillGroupByInspectionPointId(String inspectionPointId,String taskId);
List<Map<String, Object>> getPipenetworkTubewellIdByTaskId(String taskId);
List<Map<String, Object>> getInspectionFill(String pipenetworkTubewellId, String taskId);
boolean checkInspectionTriggerEquipQr(String equipmentInfoId, String code);
}