From 4534d2c0921049d9d150ba0c31f76cb445bdd365 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期四, 21 十一月 2024 17:41:25 +0800
Subject: [PATCH] 存档报表界面去掉日期区分列

---
 _Main/BL/Type_CustomerDemandIDS/Method_Generate.qbl |   46 +++++++++++++++++++++++-----------------------
 1 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/_Main/BL/Type_CustomerDemandIDS/Method_Generate.qbl b/_Main/BL/Type_CustomerDemandIDS/Method_Generate.qbl
index 454d677..7efecf8 100644
--- a/_Main/BL/Type_CustomerDemandIDS/Method_Generate.qbl
+++ b/_Main/BL/Type_CustomerDemandIDS/Method_Generate.qbl
@@ -9,29 +9,29 @@
   [*
     // 鐢勫叞楦� Jun-25-2024 (created)
     info( '-----------Search start-------' );
-    table                   := selectobject( this,InterfaceDataset.CustomerDemandIDS, report, not report.IsShow() );
-    //娓呯┖涔嬪墠瀛樺偍鐨勬樉绀烘暟鎹�
-    idscolumns              := selectuniquevalues(  table, Column, idscolumn, idscolumn.TimeUnit() = search.TimeUnit() and idscolumn.StartDate() >= search.StartDate() and idscolumn.StartDate() <= search.EndDate(), idscolumn.StartDate() );
-    this.Clear( idscolumns );
-    traverse( table, Row, row, ( search.Unit() = FinancialProductionReport::GetDefaultAllUnit() or row.Factory() = search.Unit() ) 
-              and ( products.Size() = 0 or products.Find( row.Name() ) > -1 ) ){
-      
-      showrow               := selectobject( this, Row, showrow, showrow.Name() = row.Name() and showrow.Factory() = search.Unit() );
-      if( isnull( showrow ) ){
-        showrow             := this.Row( relnew, Name := row.Name(), Factory := search.Unit() );
-      }
-      traverse( row, Cell, cell, cell.Column().TimeUnit() = search.TimeUnit() ){
-        column              := selectobject( this, Column, column, column.Name() = cell.Column().Name() );
-        if( not isnull( column ) ){
-          showcell          := selectobject( showrow, Cell, showcell, showcell.Column() = column );
-          if( isnull( showcell ) ){
-            showcell        := column.Cell( relnew, Value := '' );
-            showrow.Cell( relinsert, showcell );
-          }
-          showcell.Value( [String]( [Number]cell.Value() + [Number]showcell.Value() ) );
-        }
-      }
-    }
+    //table                   := selectobject( this,InterfaceDataset.CustomerDemandIDS, report, not report.IsShow() );
+    ////娓呯┖涔嬪墠瀛樺偍鐨勬樉绀烘暟鎹�
+    //idscolumns              := selectuniquevalues(  table, Column, idscolumn, idscolumn.TimeUnit() = search.TimeUnit() and idscolumn.StartDate() >= search.StartDate() and idscolumn.StartDate() <= search.EndDate(), idscolumn.StartDate() );
+    //this.Clear( idscolumns );
+    //traverse( table, Row, row, ( search.Unit() = FinancialProductionReport::GetDefaultAllUnit() or row.Factory() = search.Unit() ) 
+    //          and ( products.Size() = 0 or products.Find( row.Name() ) > -1 ) ){
+    //  
+    //  showrow               := selectobject( this, Row, showrow, showrow.Name() = row.Name() and showrow.Factory() = search.Unit() );
+    //  if( isnull( showrow ) ){
+    //    showrow             := this.Row( relnew, Name := row.Name(), Factory := search.Unit() );
+    //  }
+    //  traverse( row, Cell, cell, cell.Column().TimeUnit() = search.TimeUnit() ){
+    //    column              := selectobject( this, Column, column, column.Name() = cell.Column().Name() );
+    //    if( not isnull( column ) ){
+    //      showcell          := selectobject( showrow, Cell, showcell, showcell.Column() = column );
+    //      if( isnull( showcell ) ){
+    //        showcell        := column.Cell( relnew, Value := '' );
+    //        showrow.Cell( relinsert, showcell );
+    //      }
+    //      showcell.Value( [String]( [Number]cell.Value() + [Number]showcell.Value() ) );
+    //    }
+    //  }
+    //}
     info( '-----------Search end-------' );
   *]
 }

--
Gitblit v1.9.3