From dd40ebf8223e1c92a4bba7096dfcbd083aab7d17 Mon Sep 17 00:00:00 2001
From: geh <1923421292@qq.com>
Date: Fri, 7 Mar 2025 16:30:12 +0800
Subject: [PATCH] =?UTF-8?q?fix:=E4=B8=93=E6=A3=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
SGGL/BLL/API/HSSE/APIHazardRegisterService.cs | 4 +-
SGGL/BLL/BLL.csproj | 2 +-
.../Inspect/Inspect_InspectionService.cs | 494 +++++++
SGGL/Model/APIItem/HSSE/HazardRegisterItem.cs | 11 +
SGGL/Model/Model.cs | 1037 +++++++++++++
SGGL/WebAPI/Controllers/DatabaseHelper.cs | 47 +
.../HSSE/AwardStandardsController.cs | 4 +-
.../HSSE/ConstructionStandardsController.cs | 4 +-
.../HSSE/ProtectionStandardsController.cs | 4 +-
.../HSSE/SafetyInspectionController.cs | 264 ++++
.../HSSE/SafetyResponsibilitiesController.cs | 4 +-
.../MaterialEntranceAndExitController.cs | 1283 +++++++++++++++++
SGGL/WebAPI/WebAPI.csproj | 3 +
13 files changed, 3155 insertions(+), 6 deletions(-)
create mode 100644 SGGL/BLL/OfficeCheck/Inspect/Inspect_InspectionService.cs
create mode 100644 SGGL/WebAPI/Controllers/DatabaseHelper.cs
create mode 100644 SGGL/WebAPI/Controllers/HSSE/SafetyInspectionController.cs
create mode 100644 SGGL/WebAPI/Controllers/MaterialEntranceAndExitController.cs
diff --git a/SGGL/BLL/API/HSSE/APIHazardRegisterService.cs b/SGGL/BLL/API/HSSE/APIHazardRegisterService.cs
index c60e060..1059d3b 100644
--- a/SGGL/BLL/API/HSSE/APIHazardRegisterService.cs
+++ b/SGGL/BLL/API/HSSE/APIHazardRegisterService.cs
@@ -79,7 +79,9 @@ namespace BLL
IsWx = "Y",
CCManIds = hazardRegister.CCManIds,
Requirements = hazardRegister.Requirements,
- Risk_Level = hazardRegister.Risk_Level
+ Risk_Level = hazardRegister.Risk_Level,
+ RectifyId = hazardRegister.RectifyId,
+ RectifyName = hazardRegister.RectifyName,
};
var isUpdate = db.HSSE_Hazard_HazardRegister.FirstOrDefault(x => x.HazardRegisterId == newHazardRegister.HazardRegisterId);
if (isUpdate == null)
diff --git a/SGGL/BLL/BLL.csproj b/SGGL/BLL/BLL.csproj
index 5abdaa4..cd71d61 100644
--- a/SGGL/BLL/BLL.csproj
+++ b/SGGL/BLL/BLL.csproj
@@ -750,6 +750,7 @@
+
@@ -1150,7 +1151,6 @@
-