SVN r715
SVN-Revision: r715
This commit is contained in:
@@ -1503,7 +1503,7 @@ namespace Lskj.PubBomImport
|
||||
{
|
||||
int.TryParse(parentRow["套数"] + "", out int tamount);
|
||||
string childCode = parentRow["图号"] + "";
|
||||
string unionTzName = parentRow.Table.Columns.Contains("关联装配图") ? (parentRow["关联装配图"] + "").Trim() : "";
|
||||
string unionTzName = parentRow.Table.Columns.Contains("关联清单") ? (parentRow["关联清单"] + "").Trim() : "";
|
||||
insertbulider.AppendLine($"insert into FileAttachmentMapping (MaterialCode,MxFileName,RelatedAttachmentName,OperatorUser,ChangeStatus,UnionTZName) values ('{topProductId}','{sourceCode }','{childCode}','{ERPInfo.Instance.UserName}','变更','{unionTzName}');");
|
||||
if (childCode.StartsWith("QD") || childCode.StartsWith("ZZQD"))
|
||||
{
|
||||
@@ -1824,7 +1824,7 @@ namespace Lskj.PubBomImport
|
||||
{
|
||||
int.TryParse(parentRow["套数"] + "", out int tamount);
|
||||
string code = (parentRow["图号"] + "").Trim();
|
||||
string unionTzName = parentRow.Table.Columns.Contains("关联装配图") ? (parentRow["关联装配图"] + "").Trim() : "";
|
||||
string unionTzName = parentRow.Table.Columns.Contains("关联清单") ? (parentRow["关联清单"] + "").Trim() : "";
|
||||
int codeCount = mxCodeRows.Where(n => (n["图号"] + "").Trim().StartsWith(code)).Count();
|
||||
if (codeCount > 1)//只允许存在一个
|
||||
{
|
||||
@@ -2633,7 +2633,7 @@ namespace Lskj.PubBomImport
|
||||
{
|
||||
int.TryParse(parentRow["套数"] + "", out int tamount);
|
||||
string code = (parentRow["图号"] + "").Trim();
|
||||
string unionTzName = parentRow.Table.Columns.Contains("关联装配图") ? (parentRow["关联装配图"] + "").Trim() : "";
|
||||
string unionTzName = parentRow.Table.Columns.Contains("关联清单") ? (parentRow["关联清单"] + "").Trim() : "";
|
||||
int codeCount = mxCodeRows.Where(n => (n["图号"] + "").Trim().StartsWith(code)).Count();
|
||||
if (codeCount > 1)//只允许存在一个
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user