From 0747214832e5a0fa8474ea244df70e5a4594b225 Mon Sep 17 00:00:00 2001 From: hao <1836460075@qq.com> Date: 星期二, 03 六月 2025 16:03:44 +0800 Subject: [PATCH] 采购退料加源单id --- StandardInterface/MES.Service/service/CgthSqManager.cs | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/StandardInterface/MES.Service/service/CgthSqManager.cs b/StandardInterface/MES.Service/service/CgthSqManager.cs index da29100..ec617f7 100644 --- a/StandardInterface/MES.Service/service/CgthSqManager.cs +++ b/StandardInterface/MES.Service/service/CgthSqManager.cs @@ -67,7 +67,8 @@ YsFs = dto.Ys_fs, //楠屾敹鏂瑰紡 Bz = dto.bz, //澶囨敞 Erpid = dto.ERPID, //鍗曟嵁澶磇d - CreateDate=DateTime.Now, + Ydid=dto.yd_id, + CreateDate =DateTime.Now, }; var single = base.GetSingle(it => it.Erpid == entity.Erpid); if (single != null) entity.Id = single.Id; @@ -92,6 +93,7 @@ Eid = dto.eid, //鍗曟嵁澶磇d Flot=dto.flot, //鎵瑰彿 Fmto=dto.fmoto, //璁″垝璺熻釜鍙� + YdflId = dto.ydfl_id, //婧愬崟鍒嗗綍id Quantity = decimal.TryParse(dto.quantity, out var qtyVal) ? qtyVal : null, //鏁伴噺 }; -- Gitblit v1.9.3