From 4bb71bc32df6a2ce847b5dc1853dea732e2d0253 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期三, 23 十月 2024 17:53:19 +0800
Subject: [PATCH] 财务产量报表/销量报表导入bug

---
 _Main/BL/Type_MachiningPipelineReport/Method_Generate.qbl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/_Main/BL/Type_MachiningPipelineReport/Method_Generate.qbl b/_Main/BL/Type_MachiningPipelineReport/Method_Generate.qbl
index d6715fd..ceb56aa 100644
--- a/_Main/BL/Type_MachiningPipelineReport/Method_Generate.qbl
+++ b/_Main/BL/Type_MachiningPipelineReport/Method_Generate.qbl
@@ -18,7 +18,7 @@
       showrow := this.Row( relnew, Name := row.Name(), RowNr := row.RowNr() );
       
       traverse( row, Cell, cell, cell.Column().TimeUnit() = search.TimeUnit() ){
-        column   := selectobject( this, Column, column, column.Name() = cell.Column().Name() and column.TimeUnit() = search.TimeUnit() );
+        column   := selectobject( this, Column, column, column.StartDate() = cell.Column().StartDate() and column.TimeUnit() = search.TimeUnit() );
         
         if( not isnull( column ) ){
           sumcell  := selectobject( column, Cell, c, c.Row() = sumrow );

--
Gitblit v1.9.3