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

import java.util.List;
import com.zehong.system.domain.TInspectionPlan;
5
import com.zehong.system.domain.form.InspectionPlanForm;
6
import com.zehong.system.domain.vo.InspectionPlanVo;
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21

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

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

    /**
     * 新增巡检计划
     * 
     * @param tInspectionPlan 巡检计划
     * @return 结果
     */
38
    public int insertTInspectionPlan(TInspectionPlan tInspectionPlan) throws Exception;
39 40 41 42 43 44 45

    /**
     * 修改巡检计划
     * 
     * @param tInspectionPlan 巡检计划
     * @return 结果
     */
46
    public int updateTInspectionPlan(TInspectionPlan tInspectionPlan) throws Exception;
47 48 49 50 51 52 53

    /**
     * 批量删除巡检计划
     * 
     * @param planIds 需要删除的巡检计划ID
     * @return 结果
     */
54
    public int deleteTInspectionPlanByIds(int[] planIds);
55 56 57 58 59 60 61

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