package com.ruoyi.project.tr.troubleshootList.mapper; import java.util.List; import com.ruoyi.project.tr.troubleshootList.domain.TroubleshootList; /** * 隐患排查Mapper接口 * * @author wm * @date 2020-05-05 */ public interface TroubleshootListMapper { /** * 查询隐患排查 * * @param troubleshootId 隐患排查ID * @return 隐患排查 */ TroubleshootList selectTroubleshootListById(Long troubleshootId); /** * 查询隐患排查列表 * * @param troubleshootList 隐患排查 * @return 隐患排查集合 */ List selectTroubleshootListList(TroubleshootList troubleshootList); /** * 新增隐患排查 * * @param troubleshootList 隐患排查 * @return 结果 */ int insertTroubleshootList(TroubleshootList troubleshootList); /** * 修改隐患排查 * * @param troubleshootList 隐患排查 * @return 结果 */ int updateTroubleshootList(TroubleshootList troubleshootList); /** * 删除隐患排查 * * @param troubleshootId 隐患排查ID * @return 结果 */ int deleteTroubleshootListById(Long troubleshootId); /** * 批量删除隐患排查 * * @param troubleshootIds 需要删除的数据ID * @return 结果 */ int deleteTroubleshootListByIds(String[] troubleshootIds); }