1109-gaofei
This commit is contained in:
parent
97904d080f
commit
d9ca7b3bf7
|
@ -21,11 +21,16 @@ namespace BLL
|
|||
string message = string.Empty;
|
||||
if (list.Count > 0)
|
||||
{
|
||||
|
||||
var project = db.Base_Project.FirstOrDefault(x => x.HJProjectCode == list[0].ProjectId);
|
||||
if (project != null)
|
||||
{
|
||||
string projectId = project.ProjectId;
|
||||
var oldList = db.HJGL_FinishRate.Where(x => x.ProjectId == projectId);
|
||||
if (oldList.Count() > 0)
|
||||
{
|
||||
db.HJGL_FinishRate.DeleteAllOnSubmit(oldList);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
foreach (var item in list)
|
||||
{
|
||||
Model.HJGL_FinishRate newFinishRate = new Model.HJGL_FinishRate
|
||||
|
|
|
@ -126,7 +126,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
|||
oleDBConn.Close();
|
||||
oleDBConn.Dispose();
|
||||
|
||||
AddDatasetToSQL(ds.Tables[0], 10);
|
||||
AddDatasetToSQL(ds.Tables[0], 13);
|
||||
hdCheckResult.Text = "1";
|
||||
}
|
||||
catch (Exception exc)
|
||||
|
@ -172,13 +172,13 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
|||
string row0 = pds.Rows[i][0].ToString().Trim();
|
||||
if (string.IsNullOrEmpty(row0))
|
||||
{
|
||||
result += (i + 2).ToString() + "," + "文件编号为必填项!" + "|";
|
||||
result += (i + 2).ToString() + "," + "文件编号,为必填项!" + "|";
|
||||
}
|
||||
|
||||
string row1 = pds.Rows[i][1].ToString().Trim();
|
||||
if (string.IsNullOrEmpty(row1))
|
||||
{
|
||||
result += (i + 2).ToString() + "," + "文件名称为必填项!" + "|";
|
||||
result += (i + 2).ToString() + "," + "文件名称,为必填项!" + "|";
|
||||
}
|
||||
|
||||
string row2 = pds.Rows[i][2].ToString();
|
||||
|
@ -195,7 +195,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
|||
}
|
||||
else
|
||||
{
|
||||
result += (i + 2).ToString() + "," + "发放日期为必填项!" + "|";
|
||||
result += (i + 2).ToString() + "," + "发放日期,为必填项!" + "|";
|
||||
}
|
||||
|
||||
string row3 = pds.Rows[i][3].ToString().Trim();
|
||||
|
@ -369,7 +369,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
|||
oleDBConn.Close();
|
||||
oleDBConn.Dispose();
|
||||
|
||||
AddDatasetToSQL2(ds.Tables[0], 4);
|
||||
AddDatasetToSQL2(ds.Tables[0], 13);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
@ -1 +1,17 @@
|
|||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:NullReferenceException
|
||||
错误信息:未将对象引用设置到对象的实例。
|
||||
错误堆栈:
|
||||
在 System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
|
||||
在 FineUIPro.ResourceHelper.GetResourceContentAsBinary(String resName, String resVersion)
|
||||
在 FineUIPro.ResourceHandler.ProcessRequest(HttpContext context)
|
||||
在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
|
||||
在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
|
||||
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
|
||||
出错时间:11/09/2021 09:51:28
|
||||
出错文件:http://localhost:8118/res.axd?img=images.loading._3.f2f5f7_362b36.gif&t=635987008610000000
|
||||
IP地址:::1
|
||||
|
||||
出错时间:11/09/2021 09:51:29
|
||||
|
||||
|
|
Loading…
Reference in New Issue