using System; using System.Collections.Generic; using System.Data; using System.Text; using System.Threading.Tasks; using Opsoft.NetCore.O3App.Domain.Interface; using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model; namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IRepositories { public interface ICallMaterialRepository : IRepository { DataTable SqlQuery(string sql); List SqlQuery(string sql) where T : class, new(); Task> SqlQueryAsync(string sql) where T : class, new(); Task ExecuteSqlAsync(List sqlList); Task ExecuteTransactionAsync(List sqlList); Task ExecuteSqlAsync(string sql); Task CreateBillNo(string billInfoJson); decimal QtyUnitConvert(string materialId, string unitFrom, string unitTo, decimal qty); } }