施工交底补充交底人数
This commit is contained in:
@@ -238,6 +238,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
newDataInTemp.Value7 = ds.Tables[0].Rows[i][6].ToString();
|
||||
newDataInTemp.Value8 = ds.Tables[0].Rows[i][7].ToString();
|
||||
newDataInTemp.Value9 = ds.Tables[0].Rows[i][8].ToString();
|
||||
newDataInTemp.Value10 = ds.Tables[0].Rows[i][9].ToString();
|
||||
|
||||
BLL.Sys_CQMS_DataInTempService.AddDataInTemp(newDataInTemp);
|
||||
}
|
||||
@@ -444,6 +445,21 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
{
|
||||
errInfo += "标志编号为必填项;";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(tempData.Value10.Trim()))
|
||||
{
|
||||
try
|
||||
{
|
||||
Ins.DisclosurePersonNum = Convert.ToInt32(tempData.Value10.Trim());
|
||||
if (Ins.DisclosurePersonNum == null)
|
||||
{
|
||||
errInfo += "交底人数[" + tempData.Value10.Trim() + "]格式错误;";
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
errInfo += "交底人数[" + tempData.Value10.Trim() + "]格式错误;";
|
||||
}
|
||||
}
|
||||
Ins.CompileMan = this.CurrUser.UserId;
|
||||
Ins.CompileDate = DateTime.Now.Date;
|
||||
if (string.IsNullOrEmpty(errInfo)) ////所有信息正确的话 插入数据
|
||||
|
||||
Reference in New Issue
Block a user