50 lines
2.1 KiB
C#
Executable File
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.Energy.IRepositories
|
|
{
|
|
public interface IElectricityRepository : IRepository<BaseEntity>
|
|
{
|
|
Task<List<BarCodeMsg>> GetBarcodeMsg(string barcode, string orgId);
|
|
Task<List<BarcodeCheckInfo>> GetBarcodeCheckInfoAsync(string barcode);
|
|
Task<string> GetInfoAsync(string sql, int dtoType);
|
|
Task<List<BD_BARCODERSENTRY>> GetBoxedBarcodeAsync(string sql);
|
|
Task<List<SpMeBarcodeInfoDto>> GetSpMeBarcodeInfoAsync(string sql);
|
|
Task<List<InBoxBarcodeInfoDto>> GetInBoxBarcodeInfoAsync(string sql);
|
|
Task<DataTable> GetDataTale(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<string> GetUnit(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);
|
|
/// <summary>
|
|
/// 获取条码相关的校验数据
|
|
/// </summary>
|
|
/// <param name="barcode"></param>
|
|
/// <returns></returns>
|
|
Task<List<BarcodeCheckInfo>> GetBarcodeCheckInfo(string barcode, string orgId);
|
|
}
|
|
}
|