diff --git a/DataBase/菜单初始化脚本/1-13移交管理(Menu_Transfer).sql b/DataBase/菜单初始化脚本/1-13移交管理(Menu_Transfer).sql
index 6a324c30..8c2ad907 100644
--- a/DataBase/菜单初始化脚本/1-13移交管理(Menu_Transfer).sql
+++ b/DataBase/菜单初始化脚本/1-13移交管理(Menu_Transfer).sql
@@ -148,7 +148,7 @@ GO
GO
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
-VALUES('016903B1-3B86-4CF5-AFF8-FF8BE389BEE5','HVAC','Transfer/HVAC.aspx',120,'0','Menu_Transfer',0,1,1)
+VALUES('016903B1-3B86-4CF5-AFF8-FF8BE389BEE5','Punchlist from','Transfer/PunchlistFrom.aspx',120,'0','Menu_Transfer',0,1,1)
GO
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
VALUES('1C032535-64B2-4E4C-95CF-E58547017E14','016903B1-3B86-4CF5-AFF8-FF8BE389BEE5','',1)
diff --git a/SGGL/BLL/Common/Const.cs b/SGGL/BLL/Common/Const.cs
index 23bf1692..cd88e993 100644
--- a/SGGL/BLL/Common/Const.cs
+++ b/SGGL/BLL/Common/Const.cs
@@ -3985,6 +3985,21 @@ namespace BLL
#endregion
#endregion
+ #region
+ public const string ProjectSetupMenuId = "48545C6A-9D10-47F4-810F-DAB0CFCD5BF9";
+ public const string PipingMenuId = "D94C1BA4-9DFD-4514-AE12-6F886C5D8C9B";
+ public const string StaticEquipmentMenuId = "982F746C-084C-445C-9AE8-8C37BDFE7994";
+ public const string RotatingEquipmentMenuId = "7E2FB5F9-FB99-4455-B68F-460F1F9A2676";
+ public const string InstrumentationMenuId = "88F51059-55B4-4CD5-A38C-36404E5029F6";
+ public const string ElectricalMenuId = "296E75D2-192A-4D1F-8471-DD34263F8691";
+ public const string CivilStructureMenuId = "95C39F86-C060-452E-BA37-D891C466A39B";
+ public const string FirefightingMenuId = "794E64E2-FDD2-4B7D-8408-F7FB06F9C92A";
+ public const string TelecomMenuId = "58FFBD80-ACB9-4830-A18A-E025D9600D94";
+ public const string PlumbingMenuId = "95295BF7-FB51-480D-9902-6ADA4E8427FC";
+ public const string HVACMenuId = "05442049-1310-45B1-9D3D-CAAE759D8F3E";
+ public const string PunchlistFromMenuId = "016903B1-3B86-4CF5-AFF8-FF8BE389BEE5";
+ #endregion
+
#endregion
#region 质量流程定义
diff --git a/SGGL/BLL/Transfer/ProjectSetupService.cs b/SGGL/BLL/Transfer/ProjectSetupService.cs
index 8a8e3a26..94cd1be4 100644
--- a/SGGL/BLL/Transfer/ProjectSetupService.cs
+++ b/SGGL/BLL/Transfer/ProjectSetupService.cs
@@ -2,11 +2,91 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
-using System.Threading.Tasks;
+using System.Collections;
+using System.Web.UI.WebControls;
-namespace BLL.Transfer
+namespace BLL
{
- class ProjectSetupService
+ public class ProjectSetupService
{
+ ///
+ /// 根据主键获取设备材料报验信息
+ ///
+ ///
+ ///
+ public static Model.Transfer_ProjectSetup GetProjectSetupById(string Id)
+ {
+ return Funs.DB.Transfer_ProjectSetup.FirstOrDefault(e => e.Id == Id);
+ }
+
+ ///
+ /// 添加设备材料报验
+ ///
+ ///
+ public static void AddProjectSetup(Model.Transfer_ProjectSetup ProjectSetup)
+ {
+ Model.SGGLDB db = Funs.DB;
+ Model.Transfer_ProjectSetup newProjectSetup = new Model.Transfer_ProjectSetup();
+ newProjectSetup.Id = ProjectSetup.Id;
+ newProjectSetup.ProjectId = ProjectSetup.ProjectId;
+ newProjectSetup.SN = ProjectSetup.SN;
+ newProjectSetup.PlantNo = ProjectSetup.PlantNo;
+ newProjectSetup.PlantName = ProjectSetup.PlantName;
+ newProjectSetup.CommissioningSystem = ProjectSetup.CommissioningSystem;
+ newProjectSetup.CommissioningCodeDescription = ProjectSetup.CommissioningCodeDescription;
+ newProjectSetup.SubCommissioningSystem = ProjectSetup.SubCommissioningSystem;
+ newProjectSetup.SubCommissioningCodeDescription = ProjectSetup.SubCommissioningCodeDescription;
+ newProjectSetup.DescriptionArea = ProjectSetup.DescriptionArea;
+ newProjectSetup.TurnoverSystemSequenceNumber = ProjectSetup.TurnoverSystemSequenceNumber;
+ newProjectSetup.Description = ProjectSetup.Description;
+ newProjectSetup.TurnoverCode = ProjectSetup.TurnoverCode;
+ newProjectSetup.TurnoverDescription = ProjectSetup.TurnoverDescription;
+ newProjectSetup.Remark = ProjectSetup.Remark;
+ db.Transfer_ProjectSetup.InsertOnSubmit(newProjectSetup);
+ db.SubmitChanges();
+ }
+
+ ///
+ /// 修改设备材料报验
+ ///
+ ///
+ public static void UpdateProjectSetup(Model.Transfer_ProjectSetup ProjectSetup)
+ {
+ Model.SGGLDB db = Funs.DB;
+ Model.Transfer_ProjectSetup newProjectSetup = db.Transfer_ProjectSetup.FirstOrDefault(e => e.Id == ProjectSetup.Id);
+ if (newProjectSetup != null)
+ {
+ newProjectSetup.ProjectId = ProjectSetup.ProjectId;
+ newProjectSetup.SN = ProjectSetup.SN;
+ newProjectSetup.PlantNo = ProjectSetup.PlantNo;
+ newProjectSetup.PlantName = ProjectSetup.PlantName;
+ newProjectSetup.CommissioningSystem = ProjectSetup.CommissioningSystem;
+ newProjectSetup.CommissioningCodeDescription = ProjectSetup.CommissioningCodeDescription;
+ newProjectSetup.SubCommissioningSystem = ProjectSetup.SubCommissioningSystem;
+ newProjectSetup.SubCommissioningCodeDescription = ProjectSetup.SubCommissioningCodeDescription;
+ newProjectSetup.DescriptionArea = ProjectSetup.DescriptionArea;
+ newProjectSetup.TurnoverSystemSequenceNumber = ProjectSetup.TurnoverSystemSequenceNumber;
+ newProjectSetup.Description = ProjectSetup.Description;
+ newProjectSetup.TurnoverCode = ProjectSetup.TurnoverCode;
+ newProjectSetup.TurnoverDescription = ProjectSetup.TurnoverDescription;
+ newProjectSetup.Remark = ProjectSetup.Remark;
+ db.SubmitChanges();
+ }
+ }
+
+ ///
+ /// 根据主键删除设备材料报验
+ ///
+ ///
+ public static void DeleteProjectSetup(string Id)
+ {
+ Model.SGGLDB db = Funs.DB;
+ Model.Transfer_ProjectSetup ProjectSetup = db.Transfer_ProjectSetup.FirstOrDefault(e => e.Id == Id);
+ if (ProjectSetup != null)
+ {
+ db.Transfer_ProjectSetup.DeleteOnSubmit(ProjectSetup);
+ db.SubmitChanges();
+ }
+ }
}
}
diff --git a/SGGL/FineUIPro.Web/Transfer/ProjectSetup.aspx b/SGGL/FineUIPro.Web/Transfer/ProjectSetup.aspx
index 5ce31af8..5181a9b7 100644
--- a/SGGL/FineUIPro.Web/Transfer/ProjectSetup.aspx
+++ b/SGGL/FineUIPro.Web/Transfer/ProjectSetup.aspx
@@ -9,8 +9,126 @@
+