diff --git a/SGGL/BLL/CQMS/ProcessControl/InspectionManagementService.cs b/SGGL/BLL/CQMS/ProcessControl/InspectionManagementService.cs
index 90be99a6..775af25c 100644
--- a/SGGL/BLL/CQMS/ProcessControl/InspectionManagementService.cs
+++ b/SGGL/BLL/CQMS/ProcessControl/InspectionManagementService.cs
@@ -373,5 +373,21 @@ namespace BLL
{
return Funs.DB.View_InspectionManagement.FirstOrDefault(e => e.InspectionId == inspectionManagementId);
}
+
+ ///
+ /// 根据id修改验收日期和是否一次合格
+ ///
+ public static void UpdateByInspectionManagementId(Model.ProcessControl_InspectionManagement inspectionManagement) {
+ using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
+ {
+ Model.ProcessControl_InspectionManagement newInspectionManagement = db.ProcessControl_InspectionManagement.FirstOrDefault(e => e.InspectionId == inspectionManagement.InspectionId);
+ if (newInspectionManagement != null)
+ {
+ newInspectionManagement.InspectionDate = inspectionManagement.InspectionDate;
+ newInspectionManagement.IsOnceQualified = inspectionManagement.IsOnceQualified;
+ db.SubmitChanges();
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/SGGL/BLL/Common/Const.cs b/SGGL/BLL/Common/Const.cs
index c77884c2..5a20907a 100644
--- a/SGGL/BLL/Common/Const.cs
+++ b/SGGL/BLL/Common/Const.cs
@@ -2978,6 +2978,10 @@ namespace BLL
///
public const string CheckColligationTemplateUrl = "File\\Excel\\DataIn\\综合检查导入模板.xls";
///
+ /// 共检通知单模板
+ ///
+ public const string InspectionTemplateUrl = "File\\Word\\HSSE\\共检申请单.doc";
+ ///
/// 开工前检查导入模板
///
public const string CheckWorkTemplateUrl = "File\\Excel\\DataIn\\开工前检查导入模板.xls";
diff --git a/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionNotice.aspx b/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionNotice.aspx
index 0d339bc8..c7668403 100644
--- a/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionNotice.aspx
+++ b/SGGL/FineUIPro.Web/CQMS/ProcessControl/InspectionNotice.aspx
@@ -98,6 +98,9 @@