20240423 综合管理导入

This commit is contained in:
2024-04-23 16:41:21 +08:00
parent 5d9374cdd7
commit 22e86caec3
47 changed files with 4187 additions and 1269 deletions
@@ -292,9 +292,12 @@ namespace FineUIPro.Web.CQMS.Comprehensive
}
string row12 = pds.Rows[i][12].ToString().Trim();
if (row12 != "是" && row12 != "否")
if (!string.IsNullOrEmpty(row12))
{
result += (i + 2).ToString() + "," + "是否需回复" + "," + "错误!" + "|";
if (row12 != "" && row12 != "")
{
result += (i + 2).ToString() + "," + "是否需回复" + "," + "错误!" + "|";
}
}
string row13 = pds.Rows[i][13].ToString().Trim();
@@ -602,7 +605,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
{
string rootPath = Server.MapPath("~/");
string uploadfilepath = rootPath + Const.CQMS_DataReceivingDocTempUrl;
string filePath = Const.NCRManagementDataInUrl;
string filePath = Const.CQMS_DataReceivingDocTempUrl;
string fileName = Path.GetFileName(filePath);
FileInfo info = new FileInfo(uploadfilepath);
long fileSize = info.Length;