package com.ruoyi.oa.service;
|
|
import com.ruoyi.oa.domain.SgServer;
|
import com.ruoyi.oa.domain.vo.SgServerVo;
|
import com.ruoyi.oa.domain.bo.SgServerBo;
|
import com.ruoyi.common.core.mybatisplus.core.IServicePlus;
|
import com.ruoyi.common.core.page.TableDataInfo;
|
|
import java.util.Collection;
|
import java.util.List;
|
|
/**
|
* 服务器Service接口
|
*
|
* @author ruoyi
|
* @date 2022-05-13
|
*/
|
public interface ISgServerService extends IServicePlus<SgServer, SgServerVo> {
|
/**
|
* 查询单个
|
* @return
|
*/
|
SgServerVo queryById(Long id);
|
|
/**
|
* 查询列表
|
*/
|
TableDataInfo<SgServerVo> queryPageList(SgServerBo bo);
|
|
/**
|
* 查询列表
|
*/
|
List<SgServerVo> queryList(SgServerBo bo);
|
|
/**
|
* 根据新增业务对象插入服务器
|
* @param bo 服务器新增业务对象
|
* @return
|
*/
|
Boolean insertByBo(SgServerBo bo);
|
|
/**
|
* 根据编辑业务对象修改服务器
|
* @param bo 服务器编辑业务对象
|
* @return
|
*/
|
Boolean updateByBo(SgServerBo bo);
|
|
/**
|
* 校验并删除数据
|
* @param ids 主键集合
|
* @param isValid 是否校验,true-删除前校验,false-不校验
|
* @return
|
*/
|
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
|
}
|