SVN r1233

SVN-Revision: r1233
This commit is contained in:
tdx
2026-06-25 06:22:42 +00:00
parent 20bf46bdd5
commit 614b015417
2 changed files with 3 additions and 4 deletions
+2
View File
@@ -248,6 +248,7 @@ namespace Lskj.PubBomImport
this.gcMain.Name = "gcMain";
this.gcMain.SiftEnumObj = Lskj.Control.GridControlEx.HeaderSiftEnum.Sum;
this.gcMain.Size = new System.Drawing.Size(500, 444);
this.gcMain.SysModel = null;
this.gcMain.TabIndex = 16;
//
// gc_Right
@@ -259,6 +260,7 @@ namespace Lskj.PubBomImport
this.gc_Right.Name = "gc_Right";
this.gc_Right.SiftEnumObj = Lskj.Control.GridControlEx.HeaderSiftEnum.Sum;
this.gc_Right.Size = new System.Drawing.Size(367, 444);
this.gc_Right.SysModel = null;
this.gc_Right.TabIndex = 18;
//
// FrmMain
+1 -4
View File
@@ -3911,8 +3911,6 @@ namespace Lskj.PubBomImport
string suffix = Path.GetExtension(File);
string name = fileInfo.Name;
DateTime creationTime = fileInfo.CreationTime;
byte[] fileBytes = ConvertFileToBytes(File);
string fileStream = Convert.ToBase64String(fileBytes);
string userId = ERPInfo.Instance.UserId;
DateTime uploadTime = DateTime.Now;
string code = "";
@@ -4112,8 +4110,7 @@ namespace Lskj.PubBomImport
catch (Exception ex)
{
returnMsg = ex.Message;
throw new Exception($"文件{Path.GetFileName(filePath)}上传失败\r\n{ex.Message}");
isUpload = false;
throw new Exception($"文件{Path.GetFileName(filePath)}上传失败\r\n{ex.Message}", ex);
}
msg = returnMsg;
outFileId = fileId;