package com.openhis.web.pharmacyDispensarymanage.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.openhis.common.enums.DispenseStatus;
import com.openhis.web.pharmacyDispensarymanage.dto.PharmacyDispensaryDetailDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 药房发药单 mapper
 *
 * @author  yuxj
 * @date 2025-07-22
 */
@Repository
public interface PharmacyDispensaryDispensingOrderMapper {


    /**
     * 获取更表所需信息
     *
     * @param dispenseIdList 药品发放id
     * @param dispenseStatus 发放状态
     * @return 单据详情
     */
    List<PharmacyDispensaryDetailDto> getInfo(@Param("dispenseIdList") List<Long> dispenseIdList,@Param("dispenseStatus") Integer dispenseStatus);
}
