package com.wgcloud.mapper; import com.wgcloud.entity.FileSafe; import org.springframework.stereotype.Repository; import java.util.List; import java.util.Map; /** * @version v3.3 * @ClassName:FileSafeMapper.java * @author: http://www.wgstart.com * @date: 2021年9月21日 * @Description: FileSafeDao.java * @Copyright: 2019-2021 wgcloud. All rights reserved. */ @Repository public interface FileSafeMapper { public List selectAllByParams(Map map) throws Exception; public List selectByParams(Map params) throws Exception; public FileSafe selectById(String id) throws Exception; public void save(FileSafe FileSafe) throws Exception; public void insertList(List recordList) throws Exception; public void updateList(List recordList) throws Exception; public void downByHostName(List recordList) throws Exception; public int deleteById(String[] id) throws Exception; public int deleteByHostName(Map map) throws Exception; public int countByParams(Map params) throws Exception; public int updateById(FileSafe FileSafe) throws Exception; }