交工资料
39、管件宏观检查验收记录表 40、工序交接记录 41、管道预制施工检查记录
This commit is contained in:
@@ -250,6 +250,9 @@
|
||||
<Compile Include="JGZL\BlowingCleaningItemService.cs" />
|
||||
<Compile Include="JGZL\BlowingCleaningService.cs" />
|
||||
<Compile Include="JGZL\CommencementReportService.cs" />
|
||||
<Compile Include="JGZL\PipeFittingInspectionRecordService.cs" />
|
||||
<Compile Include="JGZL\ProcessHandoverRecordService.cs" />
|
||||
<Compile Include="JGZL\PipelinePrefabricationConstructionInspectionRecordService.cs" />
|
||||
<Compile Include="JGZL\ValveInspectionTestRecordService.cs" />
|
||||
<Compile Include="JGZL\ValveTestConfirmationFormService.cs" />
|
||||
<Compile Include="JGZL\IndustrialPipelineInstallationSummaryService.cs" />
|
||||
|
||||
@@ -1822,6 +1822,21 @@ namespace BLL
|
||||
/// </summary>
|
||||
public const string JGZL_PipelineInstallationInspectionRecordMenuId = "32B46F24-DA2A-40BC-9DB8-29D0A1A382B1";
|
||||
|
||||
/// <summary>
|
||||
/// 管道预制施工检查记录
|
||||
/// </summary>
|
||||
public const string JGZL_PipelinePrefabricationConstructionInspectionRecordMenuId = "CFE63BEA-A1D4-4477-B8E7-86B5E3F7FF84";
|
||||
|
||||
/// <summary>
|
||||
/// 管件宏观检查验收记录表
|
||||
/// </summary>
|
||||
public const string JGZL_PipeFittingInspectionRecordMenuId = "4A4FD28C-6B6B-4BDE-9CE0-73955FCACF5A";
|
||||
|
||||
/// <summary>
|
||||
/// 工序交接记录
|
||||
/// </summary>
|
||||
public const string JGZL_ProcessHandoverRecordMenuId = "13258273-4445-4C0A-8213-59DEA1C315C6";
|
||||
|
||||
/// <summary>
|
||||
/// 隐蔽工程验收记录
|
||||
/// </summary>
|
||||
|
||||
@@ -0,0 +1,98 @@
|
||||
using Model;
|
||||
using System.Linq;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
/// <summary>
|
||||
/// 管件宏观检查验收记录表
|
||||
/// </summary>
|
||||
public class PipeFittingInspectionRecordService
|
||||
{
|
||||
/// <summary>
|
||||
/// 根据主键获取管件宏观检查验收记录表
|
||||
/// </summary>
|
||||
/// <param name="Id"></param>
|
||||
/// <returns></returns>
|
||||
public static Model.JGZL_PipeFittingInspectionRecord GetPipeFittingInspectionRecordById(string Id)
|
||||
{
|
||||
return Funs.DB.JGZL_PipeFittingInspectionRecord.FirstOrDefault(e => e.RecordId == Id);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 添加管件宏观检查验收记录表
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
public static void AddPipeFittingInspectionRecord(Model.JGZL_PipeFittingInspectionRecord model)
|
||||
{
|
||||
SGGLDB db = Funs.DB;
|
||||
Model.JGZL_PipeFittingInspectionRecord newModel = new JGZL_PipeFittingInspectionRecord();
|
||||
newModel.RecordId = model.RecordId;
|
||||
newModel.ProjectId = model.ProjectId;
|
||||
newModel.ContractNo = model.ContractNo;
|
||||
newModel.Name = model.Name;
|
||||
newModel.ArrivalNum = model.ArrivalNum;
|
||||
newModel.ArrivalUnit = model.ArrivalUnit;
|
||||
newModel.MaterialCertificateNumber = model.MaterialCertificateNumber;
|
||||
newModel.Material = model.Material;
|
||||
newModel.Specifications = model.Specifications;
|
||||
newModel.InspectionNum = model.InspectionNum;
|
||||
newModel.ODVariation = model.ODVariation;
|
||||
newModel.IDVariation = model.IDVariation;
|
||||
newModel.WallVariation = model.WallVariation;
|
||||
newModel.OtherVariation = model.OtherVariation;
|
||||
newModel.AppearanceQuality = model.AppearanceQuality;
|
||||
newModel.Result = model.Result;
|
||||
newModel.Remark = model.Remark;
|
||||
newModel.CompileMan = model.CompileMan;
|
||||
newModel.CompileDate = model.CompileDate;
|
||||
newModel.Reviewer = model.Reviewer;
|
||||
newModel.RevieweDate = model.RevieweDate;
|
||||
db.JGZL_PipeFittingInspectionRecord.InsertOnSubmit(newModel);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 修改管件宏观检查验收记录表
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
public static void UpdatePipeFittingInspectionRecord(Model.JGZL_PipeFittingInspectionRecord model)
|
||||
{
|
||||
SGGLDB db = Funs.DB;
|
||||
Model.JGZL_PipeFittingInspectionRecord newModel = db.JGZL_PipeFittingInspectionRecord.FirstOrDefault(e => e.RecordId == model.RecordId);
|
||||
if (newModel != null)
|
||||
{
|
||||
newModel.ContractNo = model.ContractNo;
|
||||
newModel.Name = model.Name;
|
||||
newModel.ArrivalNum = model.ArrivalNum;
|
||||
newModel.ArrivalUnit = model.ArrivalUnit;
|
||||
newModel.MaterialCertificateNumber = model.MaterialCertificateNumber;
|
||||
newModel.Material = model.Material;
|
||||
newModel.Specifications = model.Specifications;
|
||||
newModel.InspectionNum = model.InspectionNum;
|
||||
newModel.ODVariation = model.ODVariation;
|
||||
newModel.IDVariation = model.IDVariation;
|
||||
newModel.WallVariation = model.WallVariation;
|
||||
newModel.OtherVariation = model.OtherVariation;
|
||||
newModel.AppearanceQuality = model.AppearanceQuality;
|
||||
newModel.Result = model.Result;
|
||||
newModel.Remark = model.Remark;
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键删除管件宏观检查验收记录表
|
||||
/// </summary>
|
||||
/// <param name="Id"></param>
|
||||
public static void DeletePipeFittingInspectionRecordById(string Id)
|
||||
{
|
||||
SGGLDB db = Funs.DB;
|
||||
Model.JGZL_PipeFittingInspectionRecord model = db.JGZL_PipeFittingInspectionRecord.FirstOrDefault(e => e.RecordId == Id);
|
||||
if (model != null)
|
||||
{
|
||||
db.JGZL_PipeFittingInspectionRecord.DeleteOnSubmit(model);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
using Model;
|
||||
using System.Linq;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
/// <summary>
|
||||
/// 管道预制施工检查记录
|
||||
/// </summary>
|
||||
public class PipelinePrefabricationConstructionInspectionRecordService
|
||||
{
|
||||
/// <summary>
|
||||
/// 根据主键获取管道预制施工检查记录
|
||||
/// </summary>
|
||||
/// <param name="Id"></param>
|
||||
/// <returns></returns>
|
||||
public static Model.JGZL_PipelinePrefabricationConstructionInspectionRecord GetPipelinePrefabricationConstructionInspectionRecordById(string Id)
|
||||
{
|
||||
return Funs.DB.JGZL_PipelinePrefabricationConstructionInspectionRecord.FirstOrDefault(e => e.RecordId == Id);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 添加管道预制施工检查记录
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
public static void AddPipelinePrefabricationConstructionInspectionRecord(Model.JGZL_PipelinePrefabricationConstructionInspectionRecord model)
|
||||
{
|
||||
SGGLDB db = Funs.DB;
|
||||
Model.JGZL_PipelinePrefabricationConstructionInspectionRecord newModel = new JGZL_PipelinePrefabricationConstructionInspectionRecord();
|
||||
newModel.RecordId = model.RecordId;
|
||||
newModel.ProjectId = model.ProjectId;
|
||||
newModel.ProfessionalEngineering = model.ProfessionalEngineering;
|
||||
newModel.DrawingNumber = model.DrawingNumber;
|
||||
newModel.InspectionResults = model.InspectionResults;
|
||||
newModel.Remark = model.Remark;
|
||||
newModel.CompileMan = model.CompileMan;
|
||||
newModel.CompileDate = model.CompileDate;
|
||||
newModel.Reviewer = model.Reviewer;
|
||||
newModel.RevieweDate = model.RevieweDate;
|
||||
db.JGZL_PipelinePrefabricationConstructionInspectionRecord.InsertOnSubmit(newModel);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 修改管道预制施工检查记录
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
public static void UpdatePipelinePrefabricationConstructionInspectionRecord(Model.JGZL_PipelinePrefabricationConstructionInspectionRecord model)
|
||||
{
|
||||
SGGLDB db = Funs.DB;
|
||||
Model.JGZL_PipelinePrefabricationConstructionInspectionRecord newModel = db.JGZL_PipelinePrefabricationConstructionInspectionRecord.FirstOrDefault(e => e.RecordId == model.RecordId);
|
||||
if (newModel != null)
|
||||
{
|
||||
newModel.ProfessionalEngineering = model.ProfessionalEngineering;
|
||||
newModel.DrawingNumber = model.DrawingNumber;
|
||||
newModel.InspectionResults = model.InspectionResults;
|
||||
newModel.Remark = model.Remark;
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键删除管道预制施工检查记录
|
||||
/// </summary>
|
||||
/// <param name="Id"></param>
|
||||
public static void DeletePipelinePrefabricationConstructionInspectionRecordById(string Id)
|
||||
{
|
||||
SGGLDB db = Funs.DB;
|
||||
Model.JGZL_PipelinePrefabricationConstructionInspectionRecord model = db.JGZL_PipelinePrefabricationConstructionInspectionRecord.FirstOrDefault(e => e.RecordId == Id);
|
||||
if (model != null)
|
||||
{
|
||||
db.JGZL_PipelinePrefabricationConstructionInspectionRecord.DeleteOnSubmit(model);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
using Model;
|
||||
using System.Linq;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
/// <summary>
|
||||
/// 工序交接记录
|
||||
/// </summary>
|
||||
public class ProcessHandoverRecordService
|
||||
{
|
||||
/// <summary>
|
||||
/// 根据主键获取工序交接记录
|
||||
/// </summary>
|
||||
/// <param name="Id"></param>
|
||||
/// <returns></returns>
|
||||
public static Model.JGZL_ProcessHandoverRecord GetProcessHandoverRecordById(string Id)
|
||||
{
|
||||
return Funs.DB.JGZL_ProcessHandoverRecord.FirstOrDefault(e => e.RecordId == Id);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 添加工序交接记录
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
public static void AddProcessHandoverRecord(Model.JGZL_ProcessHandoverRecord model)
|
||||
{
|
||||
SGGLDB db = Funs.DB;
|
||||
Model.JGZL_ProcessHandoverRecord newModel = new JGZL_ProcessHandoverRecord();
|
||||
newModel.RecordId = model.RecordId;
|
||||
newModel.ProjectId = model.ProjectId;
|
||||
newModel.ExecutionStandard = model.ExecutionStandard;
|
||||
newModel.OrganizationalUnit = model.OrganizationalUnit;
|
||||
newModel.HandoverUnit = model.HandoverUnit;
|
||||
newModel.ReceivingUnit = model.ReceivingUnit;
|
||||
newModel.InspectionResults = model.InspectionResults;
|
||||
newModel.ReceivingUnitOpinions = model.ReceivingUnitOpinions;
|
||||
newModel.Remark = model.Remark;
|
||||
newModel.CompileMan = model.CompileMan;
|
||||
newModel.CompileDate = model.CompileDate;
|
||||
newModel.Reviewer = model.Reviewer;
|
||||
newModel.RevieweDate = model.RevieweDate;
|
||||
db.JGZL_ProcessHandoverRecord.InsertOnSubmit(newModel);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 修改工序交接记录
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
public static void UpdateProcessHandoverRecord(Model.JGZL_ProcessHandoverRecord model)
|
||||
{
|
||||
SGGLDB db = Funs.DB;
|
||||
Model.JGZL_ProcessHandoverRecord newModel = db.JGZL_ProcessHandoverRecord.FirstOrDefault(e => e.RecordId == model.RecordId);
|
||||
if (newModel != null)
|
||||
{
|
||||
newModel.ExecutionStandard = model.ExecutionStandard;
|
||||
newModel.OrganizationalUnit = model.OrganizationalUnit;
|
||||
newModel.HandoverUnit = model.HandoverUnit;
|
||||
newModel.ReceivingUnit = model.ReceivingUnit;
|
||||
newModel.InspectionResults = model.InspectionResults;
|
||||
newModel.ReceivingUnitOpinions = model.ReceivingUnitOpinions;
|
||||
newModel.Remark = model.Remark;
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键删除工序交接记录
|
||||
/// </summary>
|
||||
/// <param name="Id"></param>
|
||||
public static void DeleteProcessHandoverRecordById(string Id)
|
||||
{
|
||||
SGGLDB db = Funs.DB;
|
||||
Model.JGZL_ProcessHandoverRecord model = db.JGZL_ProcessHandoverRecord.FirstOrDefault(e => e.RecordId == Id);
|
||||
if (model != null)
|
||||
{
|
||||
db.JGZL_ProcessHandoverRecord.DeleteOnSubmit(model);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user