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) {