HKC_Blazor/MasaBlazorApp3/DataAccess/Dao/IChannelListDao.cs

86 lines
3.7 KiB
C#
Raw Normal View History

2025-04-18 11:01:56 +08:00
using System;
using MasaBlazorApp3.Pojo;
2025-06-24 08:55:34 +08:00
using MasaBlazorApp3.Pojo.Vo;
2025-04-18 11:01:56 +08:00
namespace MasaBlazorApp3.DataAccess.Dao
{
public interface IChannelListDao
{
public Task<PageData<ChannelStock>> GetAllChannelList(int DrawerType, string drugName, int? take, int? skip);
public Task<List<ChannelStock>> GetChannelStockByDrugId(string DrugId);
public Task<List<ChannelList>> GetChannelListByDrawerNo(int DrawerNo);
public Task<List<ChannelStock>> GetChannelStockByDrawerNo(int DrawerNo, int Quantity = 0);
public Task<List<ChannelStock>> GetAllDrugChannelStock();
public Task<List<ChannelList>> GetAllDrugChannelList();
public Task<bool> DrawerOperationFinish(List<ChannelStock> Stocks, int type);
public Task<bool> UnBind(string id);
public Task<bool> Bind(ChannelStock Stock);
Task<PageMultiData<ChannelStock,DrugInfo>> GetAllChannelListWithDrug(int DrawerType, string drugName, int? take, int? skip);
Task<ChannelStockWithDrawerCount<ChannelStock>> GetChannelStockByDrawerNoWithDrawers(int DrawerNo, int Quantity = 0);
//盘点
public Task<bool> DrawerCheckFinish(List<ChannelStock> Stocks);
2025-05-20 11:17:07 +08:00
//抽屉获取库存数据--药品绑定
Task<ChannelStockWithDrawerCount<ChannelStock>> GetChannelStockByBiaoDing(int DrawerNo, int Quantity=0);
2025-06-24 08:55:34 +08:00
//手术室药箱获取绑定数据
Task<PageMultiData<ChannelList, Plan>> GetAllChannelListWithPlan(int? take, int? skip);
/// <summary>
/// 手术室药箱绑定套餐
/// </summary>
/// <returns></returns>
Task<bool> BindBox(ChannelList channelList);
/// <summary>
/// 手术室药箱解绑套餐
/// </summary>
/// <param name="list"></param>
/// <returns></returns>
Task<bool> UnBindBox(ChannelList list);
//获取手术室药箱中所有要补药的数据
Task<PageData<ChannelList>> GetAllBoxAddDrug(int? take, int? skip);
//手术室药箱补药获取毒麻柜中的药品信息
Task<List<BoxTakeVo>> getTakeInfoByBox(ChannelList cl);
//手术室药箱补药完成
2025-06-27 09:54:42 +08:00
Task<bool> BoxTakeFinish(List<BoxTakeVo> datas, ChannelList boxChannelList);
2025-06-24 08:55:34 +08:00
//手术室药箱入库
Task<PageData<ChannelList>> GetBoxWaitInfo(int? take, int? skip);
//手术室药箱入库获取待入库明细
2025-07-05 10:07:33 +08:00
Task<List<BoxTakeVo>> getBoxWaitByBox(ChannelList cl, int? take, int? skip);
// 手术室药箱待入库明细入库完成
Task<bool> BoxAddBoxFinish(ChannelList boxChannelList);
2025-06-27 09:54:42 +08:00
//手术室药箱获取药箱药品及库存信息
Task<PageData<PlanDetails>> GetBoxDrugInfo(int DrawerNo, int? take, int? skip);
//药箱移库时获取选中药箱号的药品信息
Task<PageData<ChannelStock>> GetChannelStockByDrug(ChannelStock cs, int drawerNo, int? take, int? skip);
/// <summary>
/// 药箱交换药品获取所有除本药箱外的所有药箱号
/// </summary>
/// <param name="machineId"></param>
/// <returns></returns>
Task<int[]> GetDrawerNum(ChannelStock channelStock);
/// <summary>
/// 药箱移除药品,获取所有除本药箱外的所有包含该药品的药箱号
/// </summary>
/// <param name="machineId"></param>
/// <returns></returns>
Task<int[]> GetDrawerNumForRemove(ChannelStock channelStock);
//手术室药箱交换药品完成
Task<bool> BoxReplaceFinish(ChannelStock stock, List<ChannelStock> Stocks);
//手术室药箱移出药品完成
Task<bool> BoxRemoveFinish(ChannelStock stock, int SelectedDrawerNo, int removeQuantity);
2025-04-18 11:01:56 +08:00
}
}