ITInspectionPlanService.java 1.78 KB
Newer Older
1 2 3
package com.zehong.system.service;

import java.util.List;
4 5

import com.github.pagehelper.PageInfo;
6
import com.zehong.system.domain.TInspectionPlan;
7
import com.zehong.system.domain.form.InspectionPlanForm;
8
import com.zehong.system.domain.vo.InspectionPlanVo;
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

/**
 * 巡检计划Service接口
 * 
 * @author zehong
 * @date 2021-07-21
 */
public interface ITInspectionPlanService 
{
    /**
     * 查询巡检计划
     * 
     * @param planId 巡检计划ID
     * @return 巡检计划
     */
24
    public InspectionPlanVo selectTInspectionPlanById(int planId) throws Exception;
25 26 27 28

    /**
     * 查询巡检计划列表
     * 
29
     * @param inspectionPlanForm 巡检计划
30 31
     * @return 巡检计划集合
     */
32
    public List<TInspectionPlan> selectTInspectionPlanList(InspectionPlanForm inspectionPlanForm);
33

34 35 36 37 38 39 40 41
    /**
     * 查询巡检计划列表
     *
     * @param inspectionPlanForm 巡检计划
     * @return 巡检计划集合
     */
    public PageInfo<TInspectionPlan> selectTInspectionPlanPage(InspectionPlanForm inspectionPlanForm);

42 43 44 45 46 47
    /**
     * 新增巡检计划
     * 
     * @param tInspectionPlan 巡检计划
     * @return 结果
     */
48
    public int insertTInspectionPlan(TInspectionPlan tInspectionPlan) throws Exception;
49 50 51 52 53 54 55

    /**
     * 修改巡检计划
     * 
     * @param tInspectionPlan 巡检计划
     * @return 结果
     */
56
    public int updateTInspectionPlan(TInspectionPlan tInspectionPlan) throws Exception;
57 58 59 60 61 62 63

    /**
     * 批量删除巡检计划
     * 
     * @param planIds 需要删除的巡检计划ID
     * @return 结果
     */
64
    public int deleteTInspectionPlanByIds(int[] planIds);
65 66 67 68 69 70 71

    /**
     * 删除巡检计划信息
     * 
     * @param planId 巡检计划ID
     * @return 结果
     */
72
    public int deleteTInspectionPlanById(int planId);
73
}