From ad81ba0fcc6ff3ca0576056bc494a110a6a691ea Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期三, 23 十月 2024 17:50:32 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev
---
_Main/BL/Type_FinancialSalesSource/StaticMethod_Download.qbl | 21 +++++++++++++++------
1 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/_Main/BL/Type_FinancialSalesSource/StaticMethod_Download.qbl b/_Main/BL/Type_FinancialSalesSource/StaticMethod_Download.qbl
index 73339a8..a0bf9ca 100644
--- a/_Main/BL/Type_FinancialSalesSource/StaticMethod_Download.qbl
+++ b/_Main/BL/Type_FinancialSalesSource/StaticMethod_Download.qbl
@@ -38,12 +38,21 @@
row := c.FinancialSalesRow();
//Factory
InventorySummarySource::CreateCellElement( xmlDOM, searchunitcolumn, row.Factory() );
- //Generation
- InventorySummarySource::CreateCellElement( xmlDOM, generationcolumn, row.Product_MP().Generation() );
- //Power
- InventorySummarySource::CreateCellElement( xmlDOM, powercolumn, row.Product_MP().Power() );
- //MLBMQBS
- InventorySummarySource::CreateCellElement( xmlDOM, mlbmqbcolumn, row.Product_MP().MQBMLB() );
+ if( not isnull( row.Product_MP() ) ){
+ //Generation
+ InventorySummarySource::CreateCellElement( xmlDOM, generationcolumn, row.Product_MP().Generation() );
+ //Power
+ InventorySummarySource::CreateCellElement( xmlDOM, powercolumn, row.Product_MP().Power() );
+ //MLBMQBS
+ InventorySummarySource::CreateCellElement( xmlDOM, mlbmqbcolumn, row.Product_MP().MQBMLB() );
+ }else{
+ //Generation
+ InventorySummarySource::CreateCellElement( xmlDOM, generationcolumn, '' );
+ //Power
+ InventorySummarySource::CreateCellElement( xmlDOM, powercolumn, '' );
+ //MLBMQBS
+ InventorySummarySource::CreateCellElement( xmlDOM, mlbmqbcolumn, '' );
+ }
//Product
InventorySummarySource::CreateCellElement( xmlDOM, productcolumnelement, row.Name() );
//Unit
--
Gitblit v1.9.3