SVN-Revision: r680
This commit is contained in:
wyf
2025-06-05 13:02:38 +00:00
parent 2371b12620
commit 7542df9977
+1 -1
View File
@@ -842,7 +842,7 @@ namespace Lskj.PubBomImport
throw new Exception($"{productId}\r\n{fileNameWithoutExtension}附件上传失败\r\n{msg}");
}
SqlHelper.ExecuteNonQuery($"delete bom_filetab where billno = '{guid}'");
string oldfilename = BaseImpl.GetResult("select sname from p_fm_filetab where fileid = '{oldfileId}'") + "";
string oldfilename = BaseImpl.GetResult($"select sname from p_fm_filetab where fileid = '{oldfileId}'") + "";
SqlHelper.ExecuteNonQuery($"insert into bom_filetab (billno,fileid,newfileid,filename,newfilename,speciesno,pid) values ('{guid}','{oldfileId}','{uploadFileId}','{oldfilename}','{fileInfo.Name}','{speciesno}','{productId}')");
SetProcessBar(100, (1 / (bomRows.Count() + 1)) * 100);
SetProcessLabelAllMsg($"总进度:1/{bomRows.Count() + 1}");