危险源管理模块接入真实数据库:新增危大/超危工程、风险控制清单、安全验收、安全巡检、临时用电管理(含前端页面、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 -1
View File
@@ -67,7 +67,7 @@ namespace Model
// myProperty.SetValue(targetDeepCopyObj, CopyOjbect(propertyValue,hasProperty), null);
}
}
catch (System.Exception ex)
catch (System.Exception)
{
return obj;
}
@@ -0,0 +1,100 @@
using System;
namespace Model
{
/// <summary>
/// 危大、超危工程清单项
/// </summary>
public class HazardProjectItem
{
/// <summary>
/// 主键
/// </summary>
public string HazardProjectId
{
get;
set;
}
/// <summary>
/// 项目ID
/// </summary>
public string ProjectId
{
get;
set;
}
/// <summary>
/// 编号
/// </summary>
public string ProjectCode
{
get;
set;
}
/// <summary>
/// 分部分项工程
/// </summary>
public string ProjectName
{
get;
set;
}
/// <summary>
/// 施工内容
/// </summary>
public string WorkContent
{
get;
set;
}
/// <summary>
/// 风险等级(危大工程/超危工程)
/// </summary>
public string RiskLevel
{
get;
set;
}
/// <summary>
/// 开工时间
/// </summary>
public System.Nullable<System.DateTime> StartDate
{
get;
set;
}
/// <summary>
/// 结束时间
/// </summary>
public System.Nullable<System.DateTime> EndDate
{
get;
set;
}
/// <summary>
/// 现场负责人
/// </summary>
public string ManagerMan
{
get;
set;
}
/// <summary>
/// 备注
/// </summary>
public string Remark
{
get;
set;
}
}
}
@@ -0,0 +1,91 @@
using System;
namespace Model
{
/// <summary>
/// 安全防护验收项
/// </summary>
public class SafetyAcceptanceItem
{
/// <summary>
/// 主键
/// </summary>
public string AcceptanceId
{
get;
set;
}
/// <summary>
/// 项目ID
/// </summary>
public string ProjectId
{
get;
set;
}
/// <summary>
/// 危大、超危工程主键
/// </summary>
public string HazardProjectId
{
get;
set;
}
/// <summary>
/// 工程名称
/// </summary>
public string HazardProjectName
{
get;
set;
}
/// <summary>
/// 验收结果
/// </summary>
public string AcceptanceResult
{
get;
set;
}
/// <summary>
/// 验收人
/// </summary>
public string AcceptanceMan
{
get;
set;
}
/// <summary>
/// 验收时间
/// </summary>
public System.Nullable<System.DateTime> AcceptanceDate
{
get;
set;
}
/// <summary>
/// 情况说明
/// </summary>
public string Remark
{
get;
set;
}
/// <summary>
/// 附件URL(逗号分隔)
/// </summary>
public string AttachUrl
{
get;
set;
}
}
}
@@ -0,0 +1,91 @@
using System;
namespace Model
{
/// <summary>
/// 安全巡检项
/// </summary>
public class SafetyPatrolItem
{
/// <summary>
/// 主键
/// </summary>
public string PatrolId
{
get;
set;
}
/// <summary>
/// 项目ID
/// </summary>
public string ProjectId
{
get;
set;
}
/// <summary>
/// 危大、超危工程主键
/// </summary>
public string HazardProjectId
{
get;
set;
}
/// <summary>
/// 工程名称
/// </summary>
public string HazardProjectName
{
get;
set;
}
/// <summary>
/// 巡检日期
/// </summary>
public System.Nullable<System.DateTime> PatrolDate
{
get;
set;
}
/// <summary>
/// 巡检人
/// </summary>
public string PatrolMan
{
get;
set;
}
/// <summary>
/// 巡检状态(正常/待整改)
/// </summary>
public string PatrolStatus
{
get;
set;
}
/// <summary>
/// 巡检内容
/// </summary>
public string Content
{
get;
set;
}
/// <summary>
/// 附件URL(逗号分隔)
/// </summary>
public string AttachUrl
{
get;
set;
}
}
}
+1542
View File
File diff suppressed because it is too large Load Diff
+3 -6
View File
@@ -45,13 +45,7 @@
<Reference Include="EmitMapper, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\EmitMapper.1.0.0\lib\EmitMapper.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.ComponentModel.Annotations, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.ComponentModel.Annotations.5.0.0\lib\net461\System.ComponentModel.Annotations.dll</HintPath>
</Reference>
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Core" />
<Reference Include="System.Data.Linq" />
@@ -116,6 +110,7 @@
<Compile Include="APIItem\HSSE\GoodsManageItemItem.cs" />
<Compile Include="APIItem\HSSE\HazardListItem.cs" />
<Compile Include="APIItem\HSSE\HazardListSelectedItem.cs" />
<Compile Include="APIItem\HSSE\HazardProjectItem.cs" />
<Compile Include="APIItem\HSSE\HazardRegisterItem.cs" />
<Compile Include="APIItem\HJGL\HJGL_PreWeldingDailyItem.cs" />
<Compile Include="APIItem\HJGL\HotProcessHardItem.cs" />
@@ -138,6 +133,8 @@
<Compile Include="APIItem\HSSE\PictureItem.cs" />
<Compile Include="APIItem\HSSE\ReEvaluator.cs" />
<Compile Include="APIItem\HSSE\RoutingInspectionItem.cs" />
<Compile Include="APIItem\HSSE\SafetyAcceptanceItem.cs" />
<Compile Include="APIItem\HSSE\SafetyPatrolItem.cs" />
<Compile Include="APIItem\HSSE\SeDinMonthReport4OtherItem.cs" />
<Compile Include="APIItem\InspectionBrigadeUserItem.cs" />
<Compile Include="APIItem\OperationReportDto.cs" />
+1 -1
View File
@@ -7,7 +7,7 @@ namespace Model
/// </summary>
public class AccidentOutput:BaseEntities
{
public string Id { get; set; }
public new string Id { get; set; }
/// <summary>
/// 事故类型
/// </summary>