From 4f28b12edb52b278252ed2d8dbb34f42971c86d1 Mon Sep 17 00:00:00 2001 From: rislai <risheng.lai@capgemini.com> Date: 星期一, 17 六月 2024 10:07:46 +0800 Subject: [PATCH] 添加维护爬坡工艺路线功能 --- _Main/BL/Type_UphillRouting/StaticMethod_Create#90.qbl | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git "a/_Main/BL/Type_UphillRouting/StaticMethod_Create\04390.qbl" "b/_Main/BL/Type_UphillRouting/StaticMethod_Create\04390.qbl" index fce68c7..ce2b5af 100644 --- "a/_Main/BL/Type_UphillRouting/StaticMethod_Create\04390.qbl" +++ "b/_Main/BL/Type_UphillRouting/StaticMethod_Create\04390.qbl" @@ -12,12 +12,12 @@ [* // rislai Jun-14-2024 (created) - verifyData := select( owner,UphillRouting,ur,LocalTool::IsOverlap( ur.StartDate(),ur.EndDate(),startDate,endDate )); + verifyData := select( owner,UphillRouting,ur,ur.Type() = suffix and LocalTool::IsOverlap( ur.StartDate(),ur.EndDate(),startDate,endDate )); if( not isnull( verifyData )){ error( "璁剧疆鐨凷tart鍜孍nd涓嶅彲涓庡凡鏈夋暟鎹殑鏃堕棿鍖洪棿閲嶅彔銆�" ); } - data := owner.UphillRouting( relnew,StartDate := startDate, EndDate := endDate,Percentage := percentage ); + data := owner.UphillRouting( relnew,StartDate := startDate, EndDate := endDate,Percentage := percentage,Type := suffix ); copy_routing := owner.Copy( suffix + startDate.Format( "Y-M2-D2") ); -- Gitblit v1.9.3