From fe28d603a518b0561ab684570e71c0d2811329ab Mon Sep 17 00:00:00 2001 From: lazhen <17772815105@139.com> Date: 星期四, 15 八月 2024 14:02:45 +0800 Subject: [PATCH] 发动机管线报表bug --- _Main/BL/Type_EnginePipelineReport/Method_Generate.qbl | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_Main/BL/Type_EnginePipelineReport/Method_Generate.qbl b/_Main/BL/Type_EnginePipelineReport/Method_Generate.qbl index db2c717..cd19c53 100644 --- a/_Main/BL/Type_EnginePipelineReport/Method_Generate.qbl +++ b/_Main/BL/Type_EnginePipelineReport/Method_Generate.qbl @@ -132,7 +132,7 @@ } for( demandr := showrowdemand.RowNr() + 1; demandr < showrowinventory.RowNr(); demandr := demandr + 1 ){ - demandrow := selectobject( this, Row, r, r.RowNr() = demandr ); + demandrow := selectobject( this, Row, r, r.RowNr() = demandr and r.Name() = row.Name() ); if( not isnull( demandrow ) and not exists( demandrow, CellValue, cv, cv.Column() = column ) ){ demandcell := column.CellValue( relnew, Value := '' ); demandrow.CellValue( relinsert, demandcell ); @@ -155,7 +155,7 @@ } traverse( this, Column, column ){ for( demandr := sumrowdemand.RowNr() + 1; demandr < sumrowinventory.RowNr(); demandr := demandr + 1 ){ - demandrow := selectobject( this, Row, r, r.RowNr() = demandr ); + demandrow := selectobject( this, Row, r, r.RowNr() = demandr and r.Name() = 'SUM' ); // info( '------------------14----------------' ); if( not isnull( demandrow ) and not exists( demandrow, CellValue, cv, cv.Column() = column ) ){ demandcell := column.CellValue( relnew, Value := '' ); -- Gitblit v1.9.3