Files
GX.O3.WMS/APP.O3/Domain/UnitOfWork/WMS/IRepositories/IBarcodeRepository.cs
T

50 lines
2.1 KiB
C#
Executable File

using System.Collections;
using Opsoft.NetCore.O3App.Domain.Interface;
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Data;
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IRepositories
{
public interface IBarcodeRepository:IRepository<BaseEntity>
{
Task<List<BarCodeMsg>> GetBarcodeMsg(string barcode, string orgId, string billType = "");
Task<List<BarcodeCheckInfo>> GetBarcodeCheckInfoAsync(string barcode);
Task<string> GetScanBarcodeInfoAsync(string sql,int dtoType);
Task<List<BD_BARCODERSENTRY>> GetBoxedBarcodeAsync(string sql);
Task<List<SpMeBarcodeInfoDto>> GetSpMeBarcodeInfoAsync(string sql);
Task<List<InBoxBarcodeInfoDto>> GetInBoxBarcodeInfoAsync(string sql);
Task<string> GetBoxRootInfoXmlStrAsync(string sql);
Task<decimal> GetBaseUnitQtyAsync(string materialId, string unitId, string baseUnitId, decimal qty);
Task<int> UpdateBarcodeQtyAsync(string sql);
Task<int> ExecuteSqlNoneQueryAsync(string sql);
Task<int> ExecuteSqlNoneQueryAsync(List<string> sqlStrList);
Task<string> CreateBillNo(string billInfoJson);
Task<string> CreateBarcode(string billDataJson,string prgKey);
Task<Hashtable> GetSystemParameters(string key);
/// <summary>
/// 拆箱操作
/// </summary>
/// <param name="inputDto"></param>
/// <returns></returns>
Task SplitBox(OutBoxInputDto inputDto);
/// <summary>
/// 查询DataTable
/// </summary>
/// <param name="sql"></param>
/// <returns></returns>
Task<DataSet> GetDataSet(List<string> sqlList);
Task<DataTable> GetDataTable(string sql);
/// <summary>
/// 获取条码相关的校验数据
/// </summary>
/// <param name="barcode"></param>
/// <returns></returns>
Task<List<BarcodeCheckInfo>> GetBarcodeCheckInfo(string barcode,string orgId);
}
}