From 0b84c9999f07bc46275f5947c4b8ebf5ce0c25cf Mon Sep 17 00:00:00 2001 From: 陈清红 <420599804@qq.com> Date: 星期一, 14 四月 2025 15:51:58 +0800 Subject: [PATCH] BUG&优化项 --- _Main/BL/Type_AOnlineAndMOfflinePlanPIR/StaticMethod_GenerateData.qbl | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/_Main/BL/Type_AOnlineAndMOfflinePlanPIR/StaticMethod_GenerateData.qbl b/_Main/BL/Type_AOnlineAndMOfflinePlanPIR/StaticMethod_GenerateData.qbl index e9ed573..8b2192b 100644 --- a/_Main/BL/Type_AOnlineAndMOfflinePlanPIR/StaticMethod_GenerateData.qbl +++ b/_Main/BL/Type_AOnlineAndMOfflinePlanPIR/StaticMethod_GenerateData.qbl @@ -9,7 +9,8 @@ Date enddate, String executor, String feedback, - Boolean isPush + Boolean isPush, + Product_MPs products ) as InterfaceLoginfo { TextBody: @@ -60,7 +61,7 @@ traverse( owner, OfflinePlanArchiveVersion, table, not table.IsShow() ){ traverse( table, Column, column, column.StartDate() >= startdate and column.StartDate() <= enddate ){//column.TimeUnit() = Translations::MP_GlobalParameters_Day() and traverse( column, Cell, cell, ( werk = 'All' or cell.Row().Unit().FindString( werk, 0 ) > -1 ) - and ( cell.Row().ProductionLine() <> 'DL_MOMO' or cell.Row().ProductionLine() <> 'CC_MOMO' ) ){ + and ( cell.Row().ProductionLine() <> 'DL MoMo' and cell.Row().ProductionLine() <> 'CC MoMo' and cell.Row().ProductionLine() <> 'DL ZKM' ) ){ row := cell.Row(); rowwerk := ifexpr( row.ProductionLine().FindString( "CC", 0 ) > -1, AOnlineAndMOfflinePlanPIR::GetWerk( FinancialProductionReport::GetDefaultCCUnit() ), AOnlineAndMOfflinePlanPIR::GetWerk( FinancialProductionReport::GetDefaultDLUnit() ) ); if( not exists( productids, Elements, e, e = row.ProductID() ) ){ @@ -94,7 +95,7 @@ loginfo.TotalRow( pir.PIRData( relsize ) ); if ( isPush ) { - feedback := AOnlineAndMOfflinePlanPIR::Publish( owner, loginfo ); + feedback := AOnlineAndMOfflinePlanPIR::Publish( owner, loginfo, products ); } return loginfo; -- Gitblit v1.9.3