package org.dromara.eims.service;
|
|
import org.dromara.eims.domain.vo.EimsMaintStandVo;
|
import org.dromara.eims.domain.bo.EimsMaintStandBo;
|
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-03-04
|
*/
|
public interface IEimsMaintStandService {
|
|
/**
|
* 查询保养标准
|
*
|
* @param id 主键
|
* @return 保养标准
|
*/
|
EimsMaintStandVo queryById(Long id);
|
|
/**
|
* 分页查询保养标准列表
|
*
|
* @param bo 查询条件
|
* @param pageQuery 分页参数
|
* @return 保养标准分页列表
|
*/
|
TableDataInfo<EimsMaintStandVo> queryPageList(EimsMaintStandBo bo, PageQuery pageQuery);
|
|
/**
|
* 查询符合条件的保养标准列表
|
*
|
* @param bo 查询条件
|
* @return 保养标准列表
|
*/
|
List<EimsMaintStandVo> queryList(EimsMaintStandBo bo);
|
|
/**
|
* 新增保养标准
|
*
|
* @param bo 保养标准
|
* @return 是否新增成功
|
*/
|
Boolean insertByBo(EimsMaintStandBo bo);
|
|
/**
|
* 修改保养标准
|
*
|
* @param bo 保养标准
|
* @return 是否修改成功
|
*/
|
Boolean updateByBo(EimsMaintStandBo bo);
|
|
/**
|
* 校验并批量删除保养标准信息
|
*
|
* @param ids 待删除的主键集合
|
* @param isValid 是否进行有效性校验
|
* @return 是否删除成功
|
*/
|
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
|
}
|