TPipeMapper.java 1.24 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
package com.zehong.system.mapper;

import java.util.List;
import com.zehong.system.domain.TPipe;

/**
 * 管道信息Mapper接口
 * 
 * @author zehong
 * @date 2021-07-08
 */
public interface TPipeMapper 
{
    /**
     * 查询管道信息
     * 
     * @param pipeId 管道信息ID
     * @return 管道信息
     */
20 21
    public TPipe selectTPipeById(int pipeId);

22 23 24 25 26 27 28 29
    /**
     * 查询管道信息列表
     * 
     * @param tPipe 管道信息
     * @return 管道信息集合
     */
    public List<TPipe> selectTPipeList(TPipe tPipe);

30 31 32 33
    /**
     * 统计管道总长度
     * @return
     */
34
    public double countPipeLength();
35

36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
    /**
     * 新增管道信息
     * 
     * @param tPipe 管道信息
     * @return 结果
     */
    public int insertTPipe(TPipe tPipe);

    /**
     * 修改管道信息
     * 
     * @param tPipe 管道信息
     * @return 结果
     */
    public int updateTPipe(TPipe tPipe);

    /**
     * 删除管道信息
     * 
     * @param pipeId 管道信息ID
     * @return 结果
     */
58
    public int deleteTPipeById(int pipeId);
59 60 61 62 63 64 65

    /**
     * 批量删除管道信息
     * 
     * @param pipeIds 需要删除的数据ID
     * @return 结果
     */
66
    public int deleteTPipeByIds(int[] pipeIds);
67
}