2024-01-26 开车分包管理修改
This commit is contained in:
+4
-3
@@ -44,9 +44,8 @@
|
||||
<LangVersion>latest</LangVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Apache.NMS.ActiveMQ, Version=1.7.2.4108, Culture=neutral, PublicKeyToken=82756feee3957618, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>bin\Debug\Apache.NMS.ActiveMQ.dll</HintPath>
|
||||
<Reference Include="Apache.NMS.ActiveMQ">
|
||||
<HintPath>..\..\..\SGGL_CWCEC\SGGL\BLL\bin\Debug\Apache.NMS.ActiveMQ.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="FineUIPro, Version=6.3.0.0, Culture=neutral, PublicKeyToken=9cbe753c029f291a, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
@@ -769,6 +768,8 @@
|
||||
<Compile Include="TestRun\ProduceTestRun\TestRunReportService.cs" />
|
||||
<Compile Include="TestRun\TestRunService.cs" />
|
||||
<Compile Include="BoSheng\BOSHENGMonitorService.cs" />
|
||||
<Compile Include="Transfer\PipingService.cs" />
|
||||
<Compile Include="Transfer\ProjectSetupService.cs" />
|
||||
<Compile Include="WebService\MCSWebService.cs" />
|
||||
<Compile Include="WebService\CNCECHSSEWebService.cs" />
|
||||
<Compile Include="WebService\CNCECHSSEMonitorService.cs" />
|
||||
|
||||
@@ -735,6 +735,10 @@ namespace BLL
|
||||
/// </summary>
|
||||
public const string Menu_TestRun = "Menu_TestRun";
|
||||
/// <summary>
|
||||
/// 移交管理
|
||||
/// </summary>
|
||||
public const string Menu_Transfer = "Menu_Transfer";
|
||||
/// <summary>
|
||||
/// 关键事项
|
||||
/// </summary>
|
||||
public const string Menu_PGJSX = "Menu_PGJSX";
|
||||
@@ -3202,6 +3206,10 @@ namespace BLL
|
||||
/// 开车方案编制计划模板文件原始虚拟路径
|
||||
/// </summary>
|
||||
public const string SchemePlan2TemplateUrl = "File\\Excel\\TestRun\\开车方案编制计划2.xlsx";
|
||||
/// <summary>
|
||||
/// ProjectSetup导入模版文件原始的虚拟路径
|
||||
/// </summary>
|
||||
public const string ProjectSetupDataInUrl = "File\\Excel\\DataIn\\ProjectSetup导入模板.xls";
|
||||
|
||||
|
||||
/// <summary>
|
||||
@@ -3988,6 +3996,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 质量流程定义
|
||||
|
||||
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
public class PipingService
|
||||
{
|
||||
/// <summary>
|
||||
/// 根据主键获取设备材料报验信息
|
||||
/// </summary>
|
||||
/// <param name="PipingId"></param>
|
||||
/// <returns></returns>
|
||||
public static Model.Transfer_Piping GetPipingById(string Id)
|
||||
{
|
||||
return Funs.DB.Transfer_Piping.FirstOrDefault(e => e.Id == Id);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 添加设备材料报验
|
||||
/// </summary>
|
||||
/// <param name="Piping"></param>
|
||||
public static void AddPiping(Model.Transfer_Piping Piping)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.Transfer_Piping newPiping = new Model.Transfer_Piping();
|
||||
newPiping.Id = Piping.Id;
|
||||
newPiping.ProjectId = Piping.ProjectId;
|
||||
newPiping.PIPINGLINENUMBER = Piping.PIPINGLINENUMBER;
|
||||
newPiping.SYSTEM = Piping.SYSTEM;
|
||||
newPiping.Subsystem = Piping.Subsystem;
|
||||
newPiping.TestPackage = Piping.TestPackage;
|
||||
newPiping.TestPackageSTART = Piping.TestPackageSTART;
|
||||
newPiping.TestPackageFINISH = Piping.TestPackageFINISH;
|
||||
newPiping.FINALStatus = Piping.FINALStatus;
|
||||
newPiping.PreTestFINISHED = Piping.PreTestFINISHED;
|
||||
newPiping.FinalTestFINISHED = Piping.FinalTestFINISHED;
|
||||
db.Transfer_Piping.InsertOnSubmit(newPiping);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 修改设备材料报验
|
||||
/// </summary>
|
||||
/// <param name="Piping"></param>
|
||||
public static void UpdatePiping(Model.Transfer_Piping Piping)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.Transfer_Piping newPiping = db.Transfer_Piping.FirstOrDefault(e => e.Id == Piping.Id);
|
||||
if (newPiping != null)
|
||||
{
|
||||
newPiping.ProjectId = Piping.ProjectId;
|
||||
newPiping.PIPINGLINENUMBER = Piping.PIPINGLINENUMBER;
|
||||
newPiping.SYSTEM = Piping.SYSTEM;
|
||||
newPiping.Subsystem = Piping.Subsystem;
|
||||
newPiping.TestPackage = Piping.TestPackage;
|
||||
newPiping.TestPackageSTART = Piping.TestPackageSTART;
|
||||
newPiping.TestPackageFINISH = Piping.TestPackageFINISH;
|
||||
newPiping.FINALStatus = Piping.FINALStatus;
|
||||
newPiping.PreTestFINISHED = Piping.PreTestFINISHED;
|
||||
newPiping.FinalTestFINISHED = Piping.FinalTestFINISHED;
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键删除设备材料报验
|
||||
/// </summary>
|
||||
/// <param name="Id"></param>
|
||||
public static void DeletePiping(string Id)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.Transfer_Piping Piping = db.Transfer_Piping.FirstOrDefault(e => e.Id == Id);
|
||||
if (Piping != null)
|
||||
{
|
||||
db.Transfer_Piping.DeleteOnSubmit(Piping);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Collections;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
public class ProjectSetupService
|
||||
{
|
||||
/// <summary>
|
||||
/// 根据主键获取设备材料报验信息
|
||||
/// </summary>
|
||||
/// <param name="ProjectSetupId"></param>
|
||||
/// <returns></returns>
|
||||
public static Model.Transfer_ProjectSetup GetProjectSetupById(string Id)
|
||||
{
|
||||
return Funs.DB.Transfer_ProjectSetup.FirstOrDefault(e => e.Id == Id);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 添加设备材料报验
|
||||
/// </summary>
|
||||
/// <param name="ProjectSetup"></param>
|
||||
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();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 修改设备材料报验
|
||||
/// </summary>
|
||||
/// <param name="ProjectSetup"></param>
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键删除设备材料报验
|
||||
/// </summary>
|
||||
/// <param name="Id"></param>
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user