施工交底补充交底人数

This commit is contained in:
2025-06-14 01:42:47 +08:00
parent 0941b1f159
commit ee5bd9ef21
15 changed files with 132 additions and 34 deletions
@@ -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)) ////所有信息正确的话 插入数据