diff --git a/ICSSoft.FromERP/ICSSoft.FromERP/ICSOutsourcingOrder.cs b/ICSSoft.FromERP/ICSSoft.FromERP/ICSOutsourcingOrder.cs index 30ee5ec..dcc8b09 100644 --- a/ICSSoft.FromERP/ICSSoft.FromERP/ICSOutsourcingOrder.cs +++ b/ICSSoft.FromERP/ICSSoft.FromERP/ICSOutsourcingOrder.cs @@ -53,6 +53,10 @@ namespace ICSSoft.FromERP //获取token token = YSHepler.GetToken(); dvURL = YSHepler.GetSELECTURL(); + + DataTable LastTime = ICSHelper.GetlastTime(conStr, Namespace, Class, WorkPoint, "", "#TempPO"); + string Time = LastTime.Rows[0]["DateTime"].ToString(); + Dictionary dic = new Dictionary(); DYS dys = new DYS(); List ls = new List(); @@ -66,7 +70,7 @@ namespace ICSSoft.FromERP DYSs s = new DYSs(); s.field = "modifyTime"; s.op = "gt"; - s.value1 = "2025-03-21"; + s.value1 = Convert.ToDateTime(Time).ToString("yyyy-MM-dd HH:mm:ss"); ls.Add(s); #endregion