package com.ruoyi.oa.service;
|
|
import com.ruoyi.oa.domain.SgSystem;
|
import com.ruoyi.oa.domain.vo.SgSystemVo;
|
import com.ruoyi.oa.domain.bo.SgSystemBo;
|
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 ISgSystemService extends IServicePlus<SgSystem, SgSystemVo> {
|
/**
|
* 查询单个
|
* @return
|
*/
|
SgSystemVo queryById(Long id);
|
|
/**
|
* 查询列表
|
*/
|
TableDataInfo<SgSystemVo> queryPageList(SgSystemBo bo);
|
|
/**
|
* 查询列表
|
*/
|
List<SgSystemVo> queryList(SgSystemBo bo);
|
|
/**
|
* 根据新增业务对象插入软件系统
|
* @param bo 软件系统新增业务对象
|
* @return
|
*/
|
Boolean insertByBo(SgSystemBo bo);
|
|
/**
|
* 根据编辑业务对象修改软件系统
|
* @param bo 软件系统编辑业务对象
|
* @return
|
*/
|
Boolean updateByBo(SgSystemBo bo);
|
|
/**
|
* 校验并删除数据
|
* @param ids 主键集合
|
* @param isValid 是否校验,true-删除前校验,false-不校验
|
* @return
|
*/
|
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
|
}
|