2022-11-9 焊接施工计划导入增加流水段
This commit is contained in:
@@ -131,6 +131,7 @@ namespace BLL
|
||||
,line.ActStartDate
|
||||
,line.ActEndDate
|
||||
,line.IsFinished
|
||||
,line.FlowingSection
|
||||
,com.PipelineComponentId
|
||||
,com.PreUnit
|
||||
,com.PipelineComponentCode
|
||||
@@ -210,6 +211,7 @@ namespace BLL
|
||||
,line.ActStartDate
|
||||
,line.ActEndDate
|
||||
,line.IsFinished
|
||||
,line.FlowingSection
|
||||
,unit.UnitWorkName
|
||||
from HJGL_Pipeline line
|
||||
left join WBS_UnitWork unit on line.UnitWorkId=unit.UnitWorkId
|
||||
@@ -297,6 +299,7 @@ namespace BLL
|
||||
newPipeline.PCtype = pipeline.PCtype;
|
||||
newPipeline.MaterialId = pipeline.MaterialId;
|
||||
newPipeline.State = pipeline.State;
|
||||
newPipeline.FlowingSection=pipeline.FlowingSection;
|
||||
db.HJGL_Pipeline.InsertOnSubmit(newPipeline);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
@@ -341,6 +344,8 @@ namespace BLL
|
||||
newPipeline.ActEndDate = pipeline.ActEndDate;
|
||||
newPipeline.WBSId = pipeline.WBSId;
|
||||
newPipeline.State = pipeline.State;
|
||||
newPipeline.FlowingSection = pipeline.FlowingSection;
|
||||
|
||||
try
|
||||
{
|
||||
db.SubmitChanges(System.Data.Linq.ConflictMode.ContinueOnConflict);
|
||||
|
||||
Reference in New Issue
Block a user