package org.dromara.eims.service;
|
|
import org.dromara.eims.domain.vo.EimsFixtureBorrowVo;
|
import org.dromara.eims.domain.bo.EimsFixtureBorrowBo;
|
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
import org.dromara.common.mybatis.core.page.PageQuery;
|
|
import java.util.Collection;
|
import java.util.List;
|
|
/**
|
* 工具借用Service接口
|
*
|
* @author zhuguifei
|
* @date 2025-02-18
|
*/
|
public interface IEimsFixtureBorrowService {
|
|
/**
|
* 查询工具借用
|
*
|
* @param id 主键
|
* @return 工具借用
|
*/
|
EimsFixtureBorrowVo queryById(Long id);
|
|
/**
|
* 分页查询工具借用列表
|
*
|
* @param bo 查询条件
|
* @param pageQuery 分页参数
|
* @return 工具借用分页列表
|
*/
|
TableDataInfo<EimsFixtureBorrowVo> queryPageList(EimsFixtureBorrowBo bo, PageQuery pageQuery);
|
|
/**
|
* 查询符合条件的工具借用列表
|
*
|
* @param bo 查询条件
|
* @return 工具借用列表
|
*/
|
List<EimsFixtureBorrowVo> queryList(EimsFixtureBorrowBo bo);
|
|
/**
|
* 新增工具借用
|
*
|
* @param bo 工具借用
|
* @return 是否新增成功
|
*/
|
Boolean insertByBo(EimsFixtureBorrowBo bo);
|
|
/**
|
* 修改工具借用
|
*
|
* @param bo 工具借用
|
* @return 是否修改成功
|
*/
|
Boolean updateByBo(EimsFixtureBorrowBo bo);
|
|
/**
|
* 校验并批量删除工具借用信息
|
*
|
* @param ids 待删除的主键集合
|
* @param isValid 是否进行有效性校验
|
* @return 是否删除成功
|
*/
|
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
|
}
|