package com.ruoyi.project.patrol.commonuse.mapper;

import java.util.List;
import com.ruoyi.project.patrol.commonuse.domain.TCommonuseDownspout;

/**
 * 落水管Mapper接口
 * 
 * @author admin
 * @date 2023-11-08
 */
public interface TCommonuseDownspoutMapper 
{
    /**
     * 查询落水管
     * 
     * @param id 落水管主键
     * @return 落水管
     */
    public TCommonuseDownspout selectTCommonuseDownspoutById(Long id);

    /**
     * 查询落水管列表
     * 
     * @param tCommonuseDownspout 落水管
     * @return 落水管集合
     */
    public List<TCommonuseDownspout> selectTCommonuseDownspoutList(TCommonuseDownspout tCommonuseDownspout);

    /**
     * 新增落水管
     * 
     * @param tCommonuseDownspout 落水管
     * @return 结果
     */
    public int insertTCommonuseDownspout(TCommonuseDownspout tCommonuseDownspout);

    /**
     * 修改落水管
     * 
     * @param tCommonuseDownspout 落水管
     * @return 结果
     */
    public int updateTCommonuseDownspout(TCommonuseDownspout tCommonuseDownspout);

    /**
     * 删除落水管
     * 
     * @param id 落水管主键
     * @return 结果
     */
    public int deleteTCommonuseDownspoutById(Long id);

    /**
     * 批量删除落水管
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTCommonuseDownspoutByIds(Long[] ids);
}
