package com.zt.plat.module.qms.business.bus.service;

import java.util.*;

import com.zt.plat.module.qms.business.bus.controller.vo.BusinessSampleDispatchDetailExtendRespVO;
import com.zt.plat.module.qms.business.bus.controller.vo.BusinessSampleDispatchDetailPageReqVO;
import com.zt.plat.module.qms.business.bus.controller.vo.BusinessSampleDispatchDetailRespVO;
import com.zt.plat.module.qms.business.bus.controller.vo.BusinessSampleDispatchDetailSaveReqVO;
import jakarta.validation.*;
import com.zt.plat.module.qms.business.bus.dal.dataobject.BusinessSampleDispatchDetailDO;
import com.zt.plat.framework.common.pojo.PageResult;

/**
 * 样品调拨明细 Service 接口
 *
 * @author 后台管理
 */
public interface BusinessSampleDispatchDetailService {

    List<BusinessSampleDispatchDetailDO> listByParID(Long parID);

    void insertBatch(List<BusinessSampleDispatchDetailDO> list);
    void updateBatch(List<BusinessSampleDispatchDetailDO> list);

    /**
     * 创建样品调拨明细
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    BusinessSampleDispatchDetailRespVO createBusinessSampleDispatchDetail(@Valid BusinessSampleDispatchDetailSaveReqVO createReqVO);

    /**
     * 更新样品调拨明细
     *
     * @param updateReqVO 更新信息
     */
    void updateBusinessSampleDispatchDetail(@Valid BusinessSampleDispatchDetailSaveReqVO updateReqVO);

    /**
     * 删除样品调拨明细
     *
     * @param id 编号
     */
    void deleteBusinessSampleDispatchDetail(Long id);

    /**
    * 批量删除样品调拨明细
    *
    * @param ids 编号
    */
    void deleteBusinessSampleDispatchDetailListByIds(List<Long> ids);

    /**
     * 获得样品调拨明细
     *
     * @param id 编号
     * @return 样品调拨明细
     */
    BusinessSampleDispatchDetailDO getBusinessSampleDispatchDetail(Long id);

    /**
     * 获得样品调拨明细分页
     *
     * @param pageReqVO 分页查询
     * @return 样品调拨明细分页
     */
    PageResult<BusinessSampleDispatchDetailExtendRespVO> getBusinessSampleDispatchDetailPage(BusinessSampleDispatchDetailPageReqVO pageReqVO);

}