using ChangKeTec.Wms.Controller.Report; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CK.SCP.UniApi.Controller { public static class PoBillNumcontroller { public static DataTable GetInvBatchStock(int di_d,string site) { //string Sql = $"select * from PURStockBill"; //Sql += $" Where ordType='CY06' and plant='W21' and di_batchNO>{di_d}"; //var dt_Part = DBControllerByOracle.GetDataTable(Sql); string Sql = $"select * from PURStockBill"; Sql += $" Where ordType='CY06' and plant='W21' and di_batchNO>{di_d}"; var dt_Part = DBControllerByOracle.GetDataTable(Sql); return dt_Part; } public class PURStockBill { /// /// 工厂 /// public int DI_BATCHNO { get; set; } public string purDocNO { get; set; } public string purDocItemNO { get; set; } /// /// 物料号 /// public string ordType { get; set; } public string docDate { get; set; } public string returnsItem { get; set; } public string sizecoL { get; set; } public string purDocItemCtg { get; set; } public string plant { get; set; } public string purOrg { get; set; } public string companyCode { get; set; } public string mtlNO { get; set; } public string shortText { get; set; } public decimal quantity { get; set; } public DateTime itemDeliveryDate { get; set; } public decimal price { get; set; } public string vendorNO { get; set; } public DateTime createdDate { get; set; } public string createdBy { get; set; } public string responsibleSalesperson { get; set; } public string purGrp { get; set; } public string phone { get; set; } public DateTime di_updatetime { get; set; } public string updatedBy { get; set; } public string baseUnitMeasure { get; set; } public string firsttelno { get; set; } public string proposerid { get; set; } public string CREATEDBY { get; set; } public string ctype { get; set; } /// /// 批次 /// } } }