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

24 lines
899 B
C#
Executable File

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<BaseEntity>
{
DataTable SqlQuery(string sql);
List<T> SqlQuery<T>(string sql) where T : class, new();
Task<List<T>> SqlQueryAsync<T>(string sql) where T : class, new();
Task<int> ExecuteSqlAsync(List<string> sqlList);
Task<int> ExecuteTransactionAsync(List<string> sqlList);
Task<int> ExecuteSqlAsync(string sql);
Task<string> CreateBillNo(string billInfoJson);
decimal QtyUnitConvert(string materialId, string unitFrom, string unitTo, decimal qty);
}
}