From c6e03cab9dab33ccfd68312e4973ee8b4b7aee78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?LAPTOP-SCHTMN2I=5C=E5=AD=A3=E5=BC=80=E6=9C=97?= <2237582022@qq.com> Date: Fri, 11 Apr 2025 15:13:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E6=9C=9F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ICSSoft.FromERP/ICSSoft.FromERP/ICSOutsourcingOrder.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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