ITInspectionPlanService.java 1.46 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 7 8 9 10 11 12 13 14 15 16 17 18 19 20

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

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

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

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

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

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