危险源管理模块接入真实数据库:新增危大/超危工程、风险控制清单、安全验收、安全巡检、临时用电管理(含前端页面、BLL/API服务、WebAPI控制器、Model项、SQL脚本与接口文档)

排除 CreateModel.bat(含明文sa密码与本地服务器名,未入库)
This commit is contained in:
2026-08-24 11:07:59 +08:00
parent 4925a6c4b0
commit 55944d732a
323 changed files with 9806 additions and 922 deletions
@@ -1,6 +1,5 @@
using BLL;
using System;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
@@ -1190,7 +1189,7 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
{
row["index"] = int.Parse(System.Text.RegularExpressions.Regex.Replace(row["JOT_JointNo"].ToString(), @"[^0-9]+", ""));
}
catch (Exception ex)
catch (Exception)
{
row["index"] = 0;
}
@@ -1348,24 +1347,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
{
jot1 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic1 += int.Parse(row["PassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
case "不合格":
try
{
jot3 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic3 += int.Parse(row["NoPassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
}
@@ -1381,24 +1380,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
{
jot2 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic2 += int.Parse(row["PassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
case "不合格":
try
{
jot4 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic4 += int.Parse(row["NoPassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
}
@@ -1469,24 +1468,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
{
jot1 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic1 += int.Parse(row["PassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
case "不合格":
try
{
jot3 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic3 += int.Parse(row["NoPassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
}
@@ -1502,24 +1501,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
{
jot2 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic2 += int.Parse(row["PassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
case "不合格":
try
{
jot4 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic4 += int.Parse(row["NoPassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
}
@@ -1589,24 +1588,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
{
jot1 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic1 += int.Parse(row["PassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
case "不合格":
try
{
jot3 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic3 += int.Parse(row["NoPassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
}
@@ -1622,24 +1621,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
{
jot2 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic2 += int.Parse(row["PassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
case "不合格":
try
{
jot4 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic4 += int.Parse(row["NoPassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
}
@@ -1707,24 +1706,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
{
jot1 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic1 += int.Parse(row["PassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
case "不合格":
try
{
jot3 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic3 += int.Parse(row["NoPassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
}
@@ -1740,24 +1739,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
{
jot2 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic2 += int.Parse(row["PassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
case "不合格":
try
{
jot4 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic4 += int.Parse(row["NoPassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
}
@@ -1825,24 +1824,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
{
jot1 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic1 += int.Parse(row["PassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
case "不合格":
try
{
jot3 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic3 += int.Parse(row["NoPassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
}
@@ -1858,24 +1857,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
{
jot2 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic2 += int.Parse(row["PassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
case "不合格":
try
{
jot4 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic4 += int.Parse(row["NoPassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
}
@@ -753,24 +753,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
{
jot1 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic1 += int.Parse(row["PassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
case "不合格":
try
{
jot3 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic3 += int.Parse(row["NoPassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
}
@@ -786,24 +786,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
{
jot2 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic2 += int.Parse(row["PassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
case "不合格":
try
{
jot4 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic4 += int.Parse(row["NoPassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
}
@@ -874,24 +874,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
{
jot1 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic1 += int.Parse(row["PassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
case "不合格":
try
{
jot3 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic3 += int.Parse(row["NoPassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
}
@@ -907,24 +907,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
{
jot2 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic2 += int.Parse(row["PassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
case "不合格":
try
{
jot4 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic4 += int.Parse(row["NoPassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
}
@@ -994,24 +994,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
{
jot1 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic1 += int.Parse(row["PassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
case "不合格":
try
{
jot3 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic3 += int.Parse(row["NoPassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
}
@@ -1027,24 +1027,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
{
jot2 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic2 += int.Parse(row["PassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
case "不合格":
try
{
jot4 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic4 += int.Parse(row["NoPassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
}
@@ -1112,24 +1112,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
{
jot1 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic1 += int.Parse(row["PassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
case "不合格":
try
{
jot3 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic3 += int.Parse(row["NoPassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
}
@@ -1145,24 +1145,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
{
jot2 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic2 += int.Parse(row["PassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
case "不合格":
try
{
jot4 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic4 += int.Parse(row["NoPassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
}
@@ -1230,24 +1230,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
{
jot1 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic1 += int.Parse(row["PassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
case "不合格":
try
{
jot3 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic3 += int.Parse(row["NoPassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
}
@@ -1263,24 +1263,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
{
jot2 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic2 += int.Parse(row["PassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
case "不合格":
try
{
jot4 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic4 += int.Parse(row["NoPassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
}
@@ -1348,24 +1348,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
{
jot1 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic1 += int.Parse(row["PassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
case "不合格":
try
{
jot3 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic3 += int.Parse(row["NoPassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
}
@@ -1381,24 +1381,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
{
jot2 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic2 += int.Parse(row["PassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
case "不合格":
try
{
jot4 += int.Parse(row["jotNum"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
try
{
pic4 += int.Parse(row["NoPassFilm"].ToString());
}
catch (Exception ee) { }
catch (Exception) { }
break;
}