diff --git a/SGGL/BLL/HJGL/WeldingManage/PipelineService.cs b/SGGL/BLL/HJGL/WeldingManage/PipelineService.cs index 63bc03e3..1394ca51 100644 --- a/SGGL/BLL/HJGL/WeldingManage/PipelineService.cs +++ b/SGGL/BLL/HJGL/WeldingManage/PipelineService.cs @@ -460,8 +460,12 @@ namespace BLL string strSql = @"select line.PipelineId as ID ,line.PipelineId + ,(select ISNULL(SUM(ISNULL(jot.Size,0)),0) FROM dbo.HJGL_WeldJoint jot WHERE jot.PipelineId=line.PipelineId) as TotalSize + ,(case when line.PipeArea='1' then (select ISNULL(SUM(ISNULL(jot.Size,0)),0) FROM dbo.HJGL_WeldJoint jot WHERE jot.PipelineId=line.PipelineId and jot.JointAttribute='预制口') + else (select ISNULL(SUM(ISNULL(jot.Size,0)),0) FROM dbo.HJGL_WeldJoint jot WHERE jot.PipelineId=line.PipelineId) end) as TotalYZSize ,line.PipelineCode ,line.ProjectId + ,mat.MaterialCode ,line.UnitWorkId ,line.UnitId ,line.SingleNumber @@ -494,6 +498,7 @@ namespace BLL ,unit.UnitWorkName from HJGL_Pipeline line left join WBS_UnitWork unit on line.UnitWorkId=unit.UnitWorkId + LEFT JOIN dbo.Base_Material AS mat ON mat.MaterialId=line.MaterialId WHERE line.ProjectId= @ProjectId "; List listStr = new List(); listStr.Add(new SqlParameter("@ProjectId", projectid)); diff --git a/SGGL/FineUIPro.Web/File/Excel/DataOut/WeldingPlanDataOut2.xlsx b/SGGL/FineUIPro.Web/File/Excel/DataOut/WeldingPlanDataOut2.xlsx index eb84a459..361fe88e 100644 Binary files a/SGGL/FineUIPro.Web/File/Excel/DataOut/WeldingPlanDataOut2.xlsx and b/SGGL/FineUIPro.Web/File/Excel/DataOut/WeldingPlanDataOut2.xlsx differ diff --git a/SGGL/FineUIPro.Web/HJGL/WeldingManage/WeldingPlanIn.aspx b/SGGL/FineUIPro.Web/HJGL/WeldingManage/WeldingPlanIn.aspx index da58d7b9..1740d768 100644 --- a/SGGL/FineUIPro.Web/HJGL/WeldingManage/WeldingPlanIn.aspx +++ b/SGGL/FineUIPro.Web/HJGL/WeldingManage/WeldingPlanIn.aspx @@ -64,6 +64,18 @@ DataField="FlowingSection" SortField="FlowingSection" FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="150px"> + + + + + +