|
|
|
|
@ -472,7 +472,7 @@ namespace FactorySystemBll
|
|
|
|
|
updateSql += string.Format("FBomFormula='{0}',", JsonConvert.SerializeObject(bfList));
|
|
|
|
|
}
|
|
|
|
|
if (!string.IsNullOrEmpty(halfIds)) updateSql += string.Format("FMaterialHalfIDs='{0}',", halfIds);
|
|
|
|
|
if (!string.IsNullOrEmpty(updateSql)) proSql += string.Format("update TFS_MaterialFTeamwork set {1} where FID={0};", teamInfo.FID, updateSql.Trim(','));
|
|
|
|
|
if (!string.IsNullOrEmpty(updateSql)) proSql += string.Format("update TFS_HalfMaterialFTeamwork set {1} where FID={0};", teamInfo.FID, updateSql.Trim(','));
|
|
|
|
|
proSql += BaseBll.GetTaskSql2(-1, 2, teamId, (int)Constant.TaskType.BOM下载, 2);
|
|
|
|
|
db.Ado.ExecuteCommand(proSql.Trim(';'));
|
|
|
|
|
db.CommitTran();
|
|
|
|
|
|