From abb6b8fdad1ee6cd3daae1fa7f97b649a0cf94a8 Mon Sep 17 00:00:00 2001 From: xusc Date: Wed, 21 Aug 2024 16:42:01 +0800 Subject: [PATCH] ... --- .vs/ICSSoft.FromERP/v16/.suo | Bin 284160 -> 289792 bytes ICSSoft.FromERP/ICSSoft.FromERP.csproj | 1 + ICSSoft.FromERP/IcsAutoSyncMoRoute_Rhtyon.cs | 104 +++++++++++++++++++ ICSSoft.Test/ICSSoft.Test.csproj | 2 +- 4 files changed, 106 insertions(+), 1 deletion(-) create mode 100644 ICSSoft.FromERP/IcsAutoSyncMoRoute_Rhtyon.cs diff --git a/.vs/ICSSoft.FromERP/v16/.suo b/.vs/ICSSoft.FromERP/v16/.suo index 3ac60978ac509cb54077be2e74260ce0177ab3ba..fb8f56a84e9b2a2dafe11d05c6f69b298b86134c 100644 GIT binary patch delta 10860 zcmeI23s{v^y2tms*4~@j7B?4htK31_A}A;(YT*{pP!aH&8KWX-T3%2wDjKedyXA;5rphos`H7&B1CgyojVXxN`OCRaMG?8$1ivf+xk!)44l~$B>)N z^uPFlXZ@DHoTini@EjEttb*BD!(W*%k(VH2kh1_4Y9v3z_X1x~45k1SU)|9hztS8p zK&;wFBhCViU;_9RSPTRR1tA~|^Z_%03p@@~-*Ci&42H1=Ll46bYL-@EA1YNg8}UF; z4tjxD;4Suh_qM4XLy?nU5SRvL0bwzPIx8@47i1jZ9-x7_C{vw!AUz(a;gb*_Y)*Ga zd>5Ds?gPWXeDoQPxE!$&aWUc|#A84VcnCy+)nFtj1Rk}XbR_1146qUG1+&2lPzff1 z0H7AM4uj4?x&!D4s(?6WTITQhYU#I1Y)4UGIHJTxF%93CgUIBMf*(YpUq@#gQtC-m zcm`=Dsm)*v27MZF9%5D3BB_zc|6EBuhyE>+N@2RB^s%<1d>k+v41tF67!c=CuTYZO zC3YJJ2B;}pOXqoEGQ~LGKwBjiRjb4@3i+)-*o4=lslT!N-SGIi&(a!PKo7E zbKkn=SdF8^qT-g&B9{Be;B&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t~K&LlhRVAW@hzH z$;!yiPU+WYN-5i8jd-CsE9&(@xyEr3G9%f}FI3=_@q^AreAKV0jnuc^Zv4=%!G`^@ z-hP*nbVr=#7VL;Ny4f73rRuMh7?05p)7K+i==Sc|v%14(Tts?KjBzlvS*94H#7})v F`(Hk390ULW diff --git a/ICSSoft.FromERP/ICSSoft.FromERP.csproj b/ICSSoft.FromERP/ICSSoft.FromERP.csproj index ba6965c..a6e3731 100644 --- a/ICSSoft.FromERP/ICSSoft.FromERP.csproj +++ b/ICSSoft.FromERP/ICSSoft.FromERP.csproj @@ -93,6 +93,7 @@ + diff --git a/ICSSoft.FromERP/IcsAutoSyncMoRoute_Rhtyon.cs b/ICSSoft.FromERP/IcsAutoSyncMoRoute_Rhtyon.cs new file mode 100644 index 0000000..55c7010 --- /dev/null +++ b/ICSSoft.FromERP/IcsAutoSyncMoRoute_Rhtyon.cs @@ -0,0 +1,104 @@ +using Quartz; +using System; +using System.Collections.Generic; +using System.Data; +using System.Linq; +using System.Text; + + +namespace ICSSoft.FromERP +{ + + ///

+ /// 工单工艺自动生成(锐腾) + /// + public class IcsAutoSyncMoRoute_Rhtyon : IJob + { + private static object key = new object(); + private static log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); + public void Execute(IJobExecutionContext context) + { + try + { + lock (key) + { + log.Info("开始……………………………………………………………………"); + Execute(); + log.Info("结束……………………………………………………………………"); + } + } + catch (Exception ex) + { + log.Error(ex.ToString()); + } + } + + public void Execute() + { + try + { + //string conERPStr = ICSHelper.GetERPConnectString(); + string conStr = ICSHelper.GetConnectString(); + string Namespace = this.GetType().Namespace; + string Class = this.GetType().Name; + + // List itemCodeList = new List() { "A2001", "A2002", "KA10", "A2003" }; + DataTable dt = ICSHelper.GetERPDB(conStr); + + //循环组织 + foreach (DataRow dr in dt.Rows) + { + string erpName = ICSHelper.GetConfigString()["ERPDB"]; + string TenantId = dr["TenantId"].ToString(); + string TenantCode = dr["TenantCode"].ToString(); + + + string sql1 = @" +select a.MoCode,a.MoSeq, a.Id,a.ItemCode ,b.RouteCode +from IcsMo a with(nolock) +left join IcsItem2Route b with(nolock) on a.ItemCode=b.ItemCode and b.IsRef='Y' and a.TenantId=b.TenantId + where a.MoStatus='mostatus_initial' +and not exists (select MoCode from IcsMo2Route with(nolock) where MoCode=a.MoCode) and a.TenantId='" + TenantId + "' " + + " and b.RouteCode is not null "; + + var itemDt = ICSHelper.ExecuteTable(conStr, sql1); + if (itemDt != null && itemDt.Rows.Count > 0) + { + //循环工单 + string sql2 = ""; + for (int i = 0; i < itemDt.Rows.Count; i++) + { + var item = itemDt.Rows[i]; + + //工艺路线表头 + sql2 += @" + insert into IcsMo2Route (MoId,RouteId,MoCode,MoSeq, RouteCode,IsMRoute, TenantId,CreationTime,CreatorUserId,CreatorUserName) + select top 1 " + item["Id"].ToInt64() + ",Id,'" + item["MoCode"].ToString() + "'," + item["MoSeq"].ToInt64() + ",RouteCode,'Y','" + TenantId + "',GETDATE(),'c65321b94c804dc26eb93a0ba67c8a2a','xusc' from IcsItem2Route a " + + " where ItemCode='" + item["ItemCode"].ToString() + "' " + + "and a.IsRef='Y' and TenantId='" + TenantId + "' "; + + + //工艺路线明细 + sql2 += @" + insert into IcsMoRoute2Op (MoId,RouteId,OpId,MoCode,MoSeq, RouteCode,OpCode,OpSeq,OpControl ,OpLevel ,OpControlSeq,ParallelOp + ,TenantId,CreationTime,CreatorUserId,CreatorUserName) + select " + item["Id"].ToInt64() + ",RouteId,OpId,'" + item["MoCode"].ToString() + "'," + item["MoSeq"].ToInt64() + ",RouteCode,OpCode,OpSeq,OPControl,'A',OpControlSeq,'N','" + TenantId + "',GETDATE(),'c65321b94c804dc26eb93a0ba67c8a2a','xusc' from IcsItemRoute2Op a " + + "where ItemCode='" + item["ItemCode"].ToString() + + "' and a.RouteCode='"+ item["RouteCode"].ToString() + "' and TenantId='" + TenantId + "' "; + + sql2 += @" update icsmo set MoRoute='" + item["RouteCode"].ToString() + "' where Id=" + item["Id"].ToInt64() + " and TenantId='" + TenantId + "' "; + } + + ICSHelper.ExecuteDate(conStr, sql2); + } + } + + + } + catch (Exception ex) + { + log.Error(ex.ToString()); + } + } + } +} diff --git a/ICSSoft.Test/ICSSoft.Test.csproj b/ICSSoft.Test/ICSSoft.Test.csproj index 90f471d..c41f835 100644 --- a/ICSSoft.Test/ICSSoft.Test.csproj +++ b/ICSSoft.Test/ICSSoft.Test.csproj @@ -94,7 +94,7 @@ - {71BE770C-F5BE-46C8-A81C-1897E28DB761} + {71be770c-f5be-46c8-a81c-1897e28db761} ICSSoft.FromERP