package com.aucma.dms.mapper;

import com.aucma.dms.domain.DmsInspectProjectDevice;

import java.util.List;

/**
 * 点巡检项目关联物料信息Mapper接口
 * 
 * @author xins
 * @date 2024-09-12
 */
public interface DmsInspectProjectDeviceMapper 
{
    /**
     * 查询点巡检项目关联物料信息
     * 
     * @param inspectProjectId 点巡检项目关联物料信息主键
     * @return 点巡检项目关联物料信息
     */
    public DmsInspectProjectDevice selectDmsInspectProjectDeviceByInspectProjectId(Long inspectProjectId);

    /**
     * 查询点巡检项目关联物料信息列表
     * 
     * @param dmsInspectProjectDevice 点巡检项目关联物料信息
     * @return 点巡检项目关联物料信息集合
     */
    public List<DmsInspectProjectDevice> selectDmsInspectProjectDeviceList(DmsInspectProjectDevice dmsInspectProjectDevice);

    /**
     * 新增点巡检项目关联物料信息
     * 
     * @param dmsInspectProjectDevice 点巡检项目关联物料信息
     * @return 结果
     */
    public int insertDmsInspectProjectDevice(DmsInspectProjectDevice dmsInspectProjectDevice);

    /**
     * 修改点巡检项目关联物料信息
     * 
     * @param dmsInspectProjectDevice 点巡检项目关联物料信息
     * @return 结果
     */
    public int updateDmsInspectProjectDevice(DmsInspectProjectDevice dmsInspectProjectDevice);

    /**
     * 删除点巡检项目关联物料信息
     * 
     * @param inspectProjectId 点巡检项目关联物料信息主键
     * @return 结果
     */
    public int deleteDmsInspectProjectDeviceByInspectProjectId(Long inspectProjectId);

    /**
     * 批量删除点巡检项目关联物料信息
     * 
     * @param inspectProjectIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDmsInspectProjectDeviceByInspectProjectIds(Long[] inspectProjectIds);
}
