This commit is contained in:
		
						commit
						b7ece2ce51
					
				| 
						 | 
					@ -250,7 +250,7 @@
 | 
				
			||||||
            </site>
 | 
					            </site>
 | 
				
			||||||
            <site name="FineUIPro.Web(10)" id="13">
 | 
					            <site name="FineUIPro.Web(10)" id="13">
 | 
				
			||||||
                <application path="/" applicationPool="Clr4IntegratedAppPool">
 | 
					                <application path="/" applicationPool="Clr4IntegratedAppPool">
 | 
				
			||||||
                    <virtualDirectory path="/" physicalPath="E:\MyProject\ZJ_BSF\Basf_TCC7\HJGL\FineUIPro.Web" />
 | 
					                    <virtualDirectory path="/" physicalPath="E:\湛江巴斯夫\Basf_TCC7\HJGL\FineUIPro.Web" />
 | 
				
			||||||
                </application>
 | 
					                </application>
 | 
				
			||||||
                <bindings>
 | 
					                <bindings>
 | 
				
			||||||
                    <binding protocol="http" bindingInformation="*:13960:localhost" />
 | 
					                    <binding protocol="http" bindingInformation="*:13960:localhost" />
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -169,7 +169,10 @@
 | 
				
			||||||
                                 FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="90px">                       
 | 
					                                 FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="90px">                       
 | 
				
			||||||
                            </f:RenderField>                                                                                  
 | 
					                            </f:RenderField>                                                                                  
 | 
				
			||||||
                            <f:RenderField HeaderText="管线编号" ColumnID="PipelineCode" DataField="PipelineCode" SortField="PipelineCode"
 | 
					                            <f:RenderField HeaderText="管线编号" ColumnID="PipelineCode" DataField="PipelineCode" SortField="PipelineCode"
 | 
				
			||||||
                                 FieldType="String" HeaderTextAlign="Center" TextAlign="Left"  Width="220px" ExpandUnusedSpace="true">                       
 | 
					                                 FieldType="String" HeaderTextAlign="Center" TextAlign="Left"  Width="120px" ExpandUnusedSpace="true">                       
 | 
				
			||||||
 | 
					                            </f:RenderField>   
 | 
				
			||||||
 | 
					                               <f:RenderField HeaderText="部分/全部焊口" ColumnID="WeldJonintCode" DataField="WeldJonintCode" SortField="PipelineCode"
 | 
				
			||||||
 | 
					                            FieldType="String" HeaderTextAlign="Center" TextAlign="Left"  Width="120px" ExpandUnusedSpace="true">                       
 | 
				
			||||||
                       </f:RenderField>   
 | 
					                       </f:RenderField>   
 | 
				
			||||||
                            <f:RenderField HeaderText="设计压力" ColumnID="DesignPressure" DataField="DesignPressure" SortField="DesignPressure"
 | 
					                            <f:RenderField HeaderText="设计压力" ColumnID="DesignPressure" DataField="DesignPressure" SortField="DesignPressure"
 | 
				
			||||||
                                 FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="90px">                       
 | 
					                                 FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="90px">                       
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -230,7 +230,8 @@ namespace FineUIPro.Web.WeldingProcess.TestPackageManage
 | 
				
			||||||
            this.SetTextTemp();
 | 
					            this.SetTextTemp();
 | 
				
			||||||
            this.PageInfoLoad(); ///页面输入保存信息
 | 
					            this.PageInfoLoad(); ///页面输入保存信息
 | 
				
			||||||
            string strSql = @"SELECT ptp.ProjectId, ptp.PTP_ID,ptpPipe.PT_PipeId, WorkArea.WorkAreaCode,IsoInfo.PipelineCode,
 | 
					            string strSql = @"SELECT ptp.ProjectId, ptp.PTP_ID,ptpPipe.PT_PipeId, WorkArea.WorkAreaCode,IsoInfo.PipelineCode,
 | 
				
			||||||
                                    IsoInfo.DesignPressure,IsoInfo.DesignTemperature,ser.MediumName
 | 
					                                    IsoInfo.DesignPressure,IsoInfo.DesignTemperature,ser.MediumName,
 | 
				
			||||||
 | 
					                                    ptpPipe.isAll,(case when (isnull(ptpPipe.WeldJonintCode,'')='') then '全部' else ptpPipe.WeldJonintCode end) as WeldJonintCode
 | 
				
			||||||
                               FROM dbo.PTP_TestPackage AS ptp
 | 
					                               FROM dbo.PTP_TestPackage AS ptp
 | 
				
			||||||
                               LEFT JOIN dbo.PTP_PipelineList AS ptpPipe ON ptp.PTP_ID=ptpPipe.PTP_ID
 | 
					                               LEFT JOIN dbo.PTP_PipelineList AS ptpPipe ON ptp.PTP_ID=ptpPipe.PTP_ID
 | 
				
			||||||
                               LEFT JOIN dbo.Pipeline_Pipeline AS IsoInfo ON  IsoInfo.PipelineId = ptpPipe.PipelineId
 | 
					                               LEFT JOIN dbo.Pipeline_Pipeline AS IsoInfo ON  IsoInfo.PipelineId = ptpPipe.PipelineId
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -214,8 +214,12 @@ namespace FineUIPro.Web.WeldingProcess.TestPackageManage
 | 
				
			||||||
                            LEFT JOIN DBO.Project_WorkArea  AS WorkArea ON IsoInfo.WorkAreaId =WorkArea.WorkAreaId
 | 
					                            LEFT JOIN DBO.Project_WorkArea  AS WorkArea ON IsoInfo.WorkAreaId =WorkArea.WorkAreaId
 | 
				
			||||||
                            LEFT JOIN dbo.Base_Medium  AS bs ON  bs.MediumId = IsoInfo.MediumId
 | 
					                            LEFT JOIN dbo.Base_Medium  AS bs ON  bs.MediumId = IsoInfo.MediumId
 | 
				
			||||||
                              WHERE IsoInfo.ProjectId= @ProjectId AND IsoInfo.UnitId= @UnitId 
 | 
					                              WHERE IsoInfo.ProjectId= @ProjectId AND IsoInfo.UnitId= @UnitId 
 | 
				
			||||||
                            AND WorkArea.InstallationId= @InstallationId  
 | 
					                            AND WorkArea.InstallationId= @InstallationId  AND
 | 
				
			||||||
                            AND NOT EXISTS(select 1 from PTP_PipelineList where IsoInfo.PipelineId=PTP_PipelineList.PipelineId and isAll=1)  ";
 | 
					                            IsoInfo.PipelineId not in(
 | 
				
			||||||
 | 
													select PipelineId from PTP_PipelineList where PipelineId=IsoInfo.PipelineId and 
 | 
				
			||||||
 | 
													WorkAreaId=IsoInfo.WorkAreaId and isAll=1
 | 
				
			||||||
 | 
												) 
 | 
				
			||||||
 | 
					                             ";
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            else
 | 
					            else
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
| 
						 | 
					@ -237,11 +241,11 @@ namespace FineUIPro.Web.WeldingProcess.TestPackageManage
 | 
				
			||||||
            listStr.Add(new SqlParameter("@UnitId", this.drpUnit.SelectedValue));
 | 
					            listStr.Add(new SqlParameter("@UnitId", this.drpUnit.SelectedValue));
 | 
				
			||||||
            listStr.Add(new SqlParameter("@InstallationId", this.drpInstallation.SelectedValue));
 | 
					            listStr.Add(new SqlParameter("@InstallationId", this.drpInstallation.SelectedValue));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if (!string.IsNullOrEmpty(this.PTP_ID))
 | 
					            //if (!string.IsNullOrEmpty(this.PTP_ID))
 | 
				
			||||||
            {
 | 
					            //{
 | 
				
			||||||
                strSql += " AND IsoList.PTP_ID=@PTP_ID";
 | 
					            //    strSql += " AND IsoList.PTP_ID=@PTP_ID";
 | 
				
			||||||
                listStr.Add(new SqlParameter("@PTP_ID", this.PTP_ID));
 | 
					            //    listStr.Add(new SqlParameter("@PTP_ID", this.PTP_ID));
 | 
				
			||||||
            }
 | 
					            //}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if (this.drpWorkArea.SelectedValue != Const._Null && drpWorkArea.SelectedValue!=null)
 | 
					            if (this.drpWorkArea.SelectedValue != Const._Null && drpWorkArea.SelectedValue!=null)
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue