package org.dromara.eims.service;
|
|
import cn.hutool.core.lang.tree.Tree;
|
import org.dromara.eims.domain.bo.EimsEquTypeBo;
|
import org.dromara.eims.domain.vo.EimsFixtureTypeVo;
|
import org.dromara.eims.domain.bo.EimsFixtureTypeBo;
|
|
import java.util.Collection;
|
import java.util.List;
|
|
/**
|
* 工具类型Service接口
|
*
|
* @author zhuguifei
|
* @date 2025-02-17
|
*/
|
public interface IEimsFixtureTypeService {
|
|
/**
|
* 查询工具类型
|
*
|
* @param id 主键
|
* @return 工具类型
|
*/
|
EimsFixtureTypeVo queryById(Long id);
|
|
|
/**
|
* 查询符合条件的工具类型列表
|
*
|
* @param bo 查询条件
|
* @return 工具类型列表
|
*/
|
List<EimsFixtureTypeVo> queryList(EimsFixtureTypeBo bo);
|
|
/**
|
* 新增工具类型
|
*
|
* @param bo 工具类型
|
* @return 是否新增成功
|
*/
|
Boolean insertByBo(EimsFixtureTypeBo bo);
|
|
/**
|
* 修改工具类型
|
*
|
* @param bo 工具类型
|
* @return 是否修改成功
|
*/
|
Boolean updateByBo(EimsFixtureTypeBo bo);
|
|
/**
|
* 校验并批量删除工具类型信息
|
*
|
* @param ids 待删除的主键集合
|
* @param isValid 是否进行有效性校验
|
* @return 是否删除成功
|
*/
|
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
|
|
/**
|
* 获取工具类型树列表
|
*
|
* @param bo
|
* @return 树列表
|
*/
|
List<Tree<Long>> selectFixtureTypeTreeList(EimsFixtureTypeBo bo);
|
}
|