From dbf946a3a82ceb317351b9ad9a945db7c136677a Mon Sep 17 00:00:00 2001 From: leo <10200039@qq.com> Date: Thu, 27 Apr 2023 21:19:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=89=A9=E6=96=99=E5=88=86?= =?UTF-8?q?=E7=B1=BB=E4=BB=BB=E5=8A=A1=E4=BF=9D=E5=AD=98=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E6=9B=B4=E6=96=B0=E5=8D=8F=E5=90=8C=E7=9A=84?= =?UTF-8?q?BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 ++ FactorySystemBll/TeamworkBll.cs | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index adbe2cd..e32b287 100644 --- a/.gitignore +++ b/.gitignore @@ -362,3 +362,5 @@ MigrationBackup/ # Fody - auto-generated XML schema FodyWeavers.xsd /FactorySystemApi/File/Temp +/FactorySystemApi/File/View/264_1/物料视图.xlsx +/FactorySystemApi/File/View diff --git a/FactorySystemBll/TeamworkBll.cs b/FactorySystemBll/TeamworkBll.cs index 2539cce..68a954f 100644 --- a/FactorySystemBll/TeamworkBll.cs +++ b/FactorySystemBll/TeamworkBll.cs @@ -514,6 +514,9 @@ namespace FactorySystemBll int pVersion = (hasNewView.Count == 0 && teamInfo.FPackID < 1) ? 2 : 1; proSql += BaseBll.GetProcessSql(teamInfo.FID, (int)Constant.ProcessType.生产工艺路线, "F2", pVersion); proSql += BaseBll.GetProcessSql(teamInfo.FID, (int)Constant.ProcessType.生成版本, "F2", pVersion); + + db.Ado.ExecuteCommand(proSql.Trim(';')); + db.CommitTran(); } catch (Exception ex) {