From 489022017f8b581ab413455b41ec841879a75e03 Mon Sep 17 00:00:00 2001 From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com> Date: 星期六, 12 十月 2024 17:48:22 +0800 Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev --- _Main/BL/Type_EnginePipelineRow/StaticMethod_CraeteCellValueForRow.qbl | 21 ++++++--------------- 1 files changed, 6 insertions(+), 15 deletions(-) diff --git a/_Main/BL/Type_EnginePipelineRow/StaticMethod_CraeteCellValueForRow.qbl b/_Main/BL/Type_EnginePipelineRow/StaticMethod_CraeteCellValueForRow.qbl index 98c8ffe..2d828d6 100644 --- a/_Main/BL/Type_EnginePipelineRow/StaticMethod_CraeteCellValueForRow.qbl +++ b/_Main/BL/Type_EnginePipelineRow/StaticMethod_CraeteCellValueForRow.qbl @@ -2,26 +2,17 @@ #parent: #root StaticMethod CraeteCellValueForRow ( EnginePipelineReport table, - EnginePipelineColumn productcolumn, - EnginePipelineColumn attricolumn, - String productname, - String attriname, - Number rownr, - Boolean isfirst + String name, + String product, + String demand, + Number rownr ) as EnginePipelineRow { TextBody: [* // 鐢勫叞楦� Jul-11-2024 (created) - row := table.Row( relnew, Name := productname, RowNr := rownr ); - if( not isfirst ){ - productname := ''; - } - pcell := productcolumn.CellValue( relnew, Value := productname ); - acell := attricolumn.CellValue( relnew, Value := attriname ); - row.CellValue( relinsert, pcell ); - row.CellValue( relinsert, acell ); - traverse( table, Column, column, column.Index() > 1 ){ + row := table.Row( relnew, Name := name, RowNr := rownr, Product := product, Demand := demand ); + traverse( table, Column, column ){ cell := column.CellValue( relnew, Value := '0' ); row.CellValue( relinsert, cell ); } -- Gitblit v1.9.3