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