From 867590e1ad3ead0e4aa449671a526ea127722a24 Mon Sep 17 00:00:00 2001 From: hao <1836460075@qq.com> Date: 星期六, 07 六月 2025 13:07:41 +0800 Subject: [PATCH] 即使库存,生产订单新字段 --- StandardInterface/MES.Service/service/CgthSqManager.cs | 4 ++ StandardInterface/MES.Service/Modes/Womcaa.cs | 47 ++++++++++++++++++++++- StandardInterface/MES.Service/service/WomcaaManager.cs | 10 ++++ StandardInterface/MES.Service/Dto/webApi/ErpCAA.cs | 10 ++++ 4 files changed, 67 insertions(+), 4 deletions(-) diff --git a/StandardInterface/MES.Service/Dto/webApi/ErpCAA.cs b/StandardInterface/MES.Service/Dto/webApi/ErpCAA.cs index f87624c..ca7db32 100644 --- a/StandardInterface/MES.Service/Dto/webApi/ErpCAA.cs +++ b/StandardInterface/MES.Service/Dto/webApi/ErpCAA.cs @@ -64,7 +64,15 @@ public string? RCN { get; set; } //鏃ヤ骇鑳� public string? CG_LINE_ID { get; set; } //閲囪喘璁㈠崟琛宨d - + public string? KH { get; set; } //瀹㈡埛 + public string? KH_JCZL { get; set; } //瀹㈡埛鍩虹璧勬枡 + public string? SC_PH { get; set; } //鐢熶骇鎵瑰彿 + public string? MOLd_no { get; set; } //妯″叿鍙� + public string? Old_mold_no { get; set; } //鏃фā鍏峰彿 + public string? JT { get; set; } //鏈哄彴鍙� + public string? XS_CN { get; set; } //灏忔椂浜ц兘 + public string? SJ_xs { get; set; } //瀹為檯绌存暟 + public string? NEXT_Gx { get; set; } //涓嬮亾宸ュ簭 ////濮斿瀛楁 //public string? F_ZJXF_DATETIME_YHRQ { get; set; } //public string? F_ZJXF_BASE_KH { get; set; } diff --git a/StandardInterface/MES.Service/Modes/Womcaa.cs b/StandardInterface/MES.Service/Modes/Womcaa.cs index 312db20..ed9b931 100644 --- a/StandardInterface/MES.Service/Modes/Womcaa.cs +++ b/StandardInterface/MES.Service/Modes/Womcaa.cs @@ -441,7 +441,50 @@ ///</summary> [SugarColumn(ColumnName = "SUPP_ID")] public string SuppId { get; set; } - - + /// <summary> + /// 瀹㈡埛 + ///</summary> + [SugarColumn(ColumnName = "KH")] + public string Kh { get; set; } + /// <summary> + /// 瀹㈡埛鍩虹璧勬枡 + ///</summary> + [SugarColumn(ColumnName = "KH_JC")] + public string Khjc { get; set; } + /// <summary> + /// 鐢熶骇鎵瑰彿 + ///</summary> + [SugarColumn(ColumnName = "SC_PH")] + public string Scph { get; set; } + /// <summary> + /// 妯″叿鍙� + ///</summary> + [SugarColumn(ColumnName = "MOLD_NO")] + public string Moldno { get; set; } + /// <summary> + /// 鏃фā鍏峰彿 + ///</summary> + [SugarColumn(ColumnName = "OLD_MOLD_NO")] + public string Oldmoldno { get; set; } + /// <summary> + /// 鏈哄彴鍙� + ///</summary> + [SugarColumn(ColumnName = "JT")] + public string Jt { get; set; } + /// <summary> + /// 灏忔椂浜ц兘 + ///</summary> + [SugarColumn(ColumnName = "XS_CN")] + public string Xscn { get; set; } + /// <summary> + /// 瀹為檯绌存暟 + ///</summary> + [SugarColumn(ColumnName = "SJ_XS")] + public string Sjxs { get; set; } + /// <summary> + /// 涓嬮亾宸ュ簭 + ///</summary> + [SugarColumn(ColumnName = "NEXT_GX")] + public string Nextgx { get; set; } } } diff --git a/StandardInterface/MES.Service/service/CgthSqManager.cs b/StandardInterface/MES.Service/service/CgthSqManager.cs index ec617f7..44b5ba0 100644 --- a/StandardInterface/MES.Service/service/CgthSqManager.cs +++ b/StandardInterface/MES.Service/service/CgthSqManager.cs @@ -116,6 +116,10 @@ List<CgthSqDetail> mesWomcabs) { var decimals = mesWomcabs.Select(s => s.Id).ToArray(); + + //鎵爜涓嶅厑璁稿垹闄� + + throw new NotImplementedException("鎵爜涓嶅厑璁稿垹闄�"); var update = base.DeleteById(mesWomCgth.Id); var insertOrUpdate = db .Deleteable<CgthSqDetail>().In(decimals) diff --git a/StandardInterface/MES.Service/service/WomcaaManager.cs b/StandardInterface/MES.Service/service/WomcaaManager.cs index f8df994..bfc2467 100644 --- a/StandardInterface/MES.Service/service/WomcaaManager.cs +++ b/StandardInterface/MES.Service/service/WomcaaManager.cs @@ -202,7 +202,15 @@ RkOrg = dto.RK_ORG, //鍏ュ簱缁勭粐 Rcn=dto.RCN, //鏃ヤ骇鑳� Cglineid=dto.CG_LINE_ID, //閲囪喘璁㈠崟琛宨d - + Kh=dto.KH, + Khjc=dto.KH_JCZL, + Scph=dto.SC_PH, + Moldno=dto.MOLd_no, + Oldmoldno=dto.Old_mold_no, + Jt=dto.JT, + Xscn=dto.XS_CN, + Sjxs=dto.SJ_xs, + Nextgx=dto.NEXT_Gx //娌冨皵鏂板 // WR_F_SCDD_SCTZD = dto.F_SCDD_SCTZD //WR_F_SCDD_XH = dto.F_SCDD_XH -- Gitblit v1.9.3