From f8d325f163f1aa7b968a0c9f1ffc03b3c86c00c2 Mon Sep 17 00:00:00 2001 From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com> Date: 星期一, 30 十二月 2024 12:01:38 +0800 Subject: [PATCH] 修复一些bug --- _Main/BL/Type_SingleShiftConfig/StaticMethod_Import.qbl | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/_Main/BL/Type_SingleShiftConfig/StaticMethod_Import.qbl b/_Main/BL/Type_SingleShiftConfig/StaticMethod_Import.qbl index 8f345c5..3a13ff0 100644 --- a/_Main/BL/Type_SingleShiftConfig/StaticMethod_Import.qbl +++ b/_Main/BL/Type_SingleShiftConfig/StaticMethod_Import.qbl @@ -33,7 +33,7 @@ firstSingleShiftQuantityCell := select( row, GeneralExcelImportAndExportDataCell, tempGEIAEDC, tempGEIAEDC.GeneralExcelImportAndExportDataColumn().ColumnIndex() = 3 ); secondSingleShiftQuantityCell := select( row, GeneralExcelImportAndExportDataCell, tempGEIAEDC, tempGEIAEDC.GeneralExcelImportAndExportDataColumn().ColumnIndex() = 4 ); thirdSingleShiftQuantityCell := select( row, GeneralExcelImportAndExportDataCell, tempGEIAEDC, tempGEIAEDC.GeneralExcelImportAndExportDataColumn().ColumnIndex() = 5 ); - + maintenanceDeduction := select( row, GeneralExcelImportAndExportDataCell, tempGEIAEDC, tempGEIAEDC.GeneralExcelImportAndExportDataColumn().ColumnIndex() = 6 ); unitID := guard( unitIDCell.Value(), "" ); if( unitID = "" ){ @@ -48,7 +48,8 @@ ShiftName := guard( shiftNameCell.Value(), "" ), FirstSingleShiftQuantity := guard( [Real]firstSingleShiftQuantityCell.Value(), 0.0 ), SecondSingleShiftQuantity := guard( [Real]secondSingleShiftQuantityCell.Value(), 0.0 ), - ThirdSingleShiftQuantity := guard( [Real]thirdSingleShiftQuantityCell.Value(), 0.0 ) ); + ThirdSingleShiftQuantity := guard( [Real]thirdSingleShiftQuantityCell.Value(), 0.0 ), + MaintenanceDeduction := guard( [Real]maintenanceDeduction.Value(), 0.0 ) ); }else{ error( "鏃犳硶鍦ㄣ��" + macroPlan.MDSMacroPlan().Description() + "銆戝唴鎵惧埌浜х嚎銆�" + unitID + "銆戙��"); } -- Gitblit v1.9.3