From fcb023061a7be2ce3d954abc1eeed30faf71590e Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期一, 02 九月 2024 15:59:56 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev

---
 _Main/BL/Type_ChangeLossSettingExcel/StaticMethod_CheckImport.qbl |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/_Main/BL/Type_ChangeLossSettingExcel/StaticMethod_CheckImport.qbl b/_Main/BL/Type_ChangeLossSettingExcel/StaticMethod_CheckImport.qbl
index 8e48b1d..c1c2c55 100644
--- a/_Main/BL/Type_ChangeLossSettingExcel/StaticMethod_CheckImport.qbl
+++ b/_Main/BL/Type_ChangeLossSettingExcel/StaticMethod_CheckImport.qbl
@@ -13,6 +13,10 @@
                 or excel.ChangeLossNr() = 0 ) ){
       error( Translations::MP_ChangeLossSettingExcel_Import_NullInputRequiredField() );
     }
+    //瀵煎叆鐨勬暟閲忓皬浜�0
+    if( exists( macroplan, ChangeLossSettingExcel, excel, excel.ChangeLossNr() < 0 ) ){
+      error( Translations::MP_ChangeLossSettingExcel_Import_PositiveInteger() );
+    }
     //瀵煎叆浜у搧鏄惁瀛樺湪
     if( exists( macroplan, ChangeLossSettingExcel, excel, not exists( macroplan, Product_MP, product, product.ID() = excel.Product1() or product.ID() = excel.Product2() ) ) ){
       error( Translations::MP_ChangeLossSettingExcel_Import_ProductNoExist() );

--
Gitblit v1.9.3