From 5e9162834262836280dfb143e9872f2a53876169 Mon Sep 17 00:00:00 2001 From: wbc <2597324127@qq.com> Date: 星期六, 19 七月 2025 13:54:06 +0800 Subject: [PATCH] 生产订单添加当前推送时间 --- StandardPda/MES.Service/service/WomcaaManager.cs | 1 + StandardPda/MESApplication/Controllers/Warehouse/womdaaController.cs | 2 +- StandardPda/MESApplication/Controllers/WomcaaController.cs | 3 ++- StandardPda/MES.Service/Modes/Womcaa.cs | 6 ++++++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/StandardPda/MES.Service/Modes/Womcaa.cs b/StandardPda/MES.Service/Modes/Womcaa.cs index 00b2669..87476d1 100644 --- a/StandardPda/MES.Service/Modes/Womcaa.cs +++ b/StandardPda/MES.Service/Modes/Womcaa.cs @@ -523,4 +523,10 @@ /// </summary> [SugarColumn(ColumnName = "TYPEA")] public string? Typea { get; set; } + + /// <summary> + /// 鎺ㄩ�佹椂闂� + /// </summary> + [SugarColumn(ColumnName = "TS_DATE")] + public DateTime? TsDate { get; set; } } \ No newline at end of file diff --git a/StandardPda/MES.Service/service/WomcaaManager.cs b/StandardPda/MES.Service/service/WomcaaManager.cs index f175ecc..0498475 100644 --- a/StandardPda/MES.Service/service/WomcaaManager.cs +++ b/StandardPda/MES.Service/service/WomcaaManager.cs @@ -158,6 +158,7 @@ Reasonforrework = dto.FReasonForRework, Isforcewholeset = dto.FIsForceWholeSet, PREVMO = dto.FPrevMO, + TsDate = DateTime.Now, Typea = dto.TypeA }; diff --git a/StandardPda/MESApplication/Controllers/Warehouse/womdaaController.cs b/StandardPda/MESApplication/Controllers/Warehouse/womdaaController.cs index c0f541e..b0c5720 100644 --- a/StandardPda/MESApplication/Controllers/Warehouse/womdaaController.cs +++ b/StandardPda/MESApplication/Controllers/Warehouse/womdaaController.cs @@ -18,7 +18,7 @@ private readonly WomdaaManager m = new(); private readonly MessageCenterManager _manager = new(); - + private readonly string METHOD = "POST"; private readonly string TableName = "womdaa"; diff --git a/StandardPda/MESApplication/Controllers/WomcaaController.cs b/StandardPda/MESApplication/Controllers/WomcaaController.cs index 6ff858f..a66ceba 100644 --- a/StandardPda/MESApplication/Controllers/WomcaaController.cs +++ b/StandardPda/MESApplication/Controllers/WomcaaController.cs @@ -29,6 +29,7 @@ entity.TableName = TableName; entity.Url = URL + "Save"; entity.Method = METHOD; + entity.PageName = rohIn.ErpCaa.FBillNo; entity.Data = JsonConvert.SerializeObject(rohIn); entity.Status = 1; entity.CreateBy = "PL017"; @@ -83,7 +84,7 @@ resultInfos.tbBillList = save; entity.Result = 0; - if (save) entity.Result = 1; + if (save) entity.Result = 1; entity.DealWith = 1; _manager.save(entity); -- Gitblit v1.9.3