package com.ruoyi.project.tr.troubleshootList.service; import java.util.List; import com.ruoyi.project.tr.troubleshootList.domain.TroubleshootList; /** * 隐患排查Service接口 * * @author wm * @date 2020-05-05 */ public interface ITroubleshootListService { /** * 查询隐患排查 * * @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 ids 需要删除的数据ID * @return 结果 */ int deleteTroubleshootListByIds(String ids); /** * 删除隐患排查信息 * * @param troubleshootId 隐患排查ID * @return 结果 */ int deleteTroubleshootListById(Long troubleshootId); }