From 8a69c2f5505f7d54a7ce097765ca7c6c0e265725 Mon Sep 17 00:00:00 2001
From: hongji.li <hongji.a.li@capgemini.com>
Date: 星期一, 11 九月 2023 15:08:29 +0800
Subject: [PATCH] 物料标签&计划策略优化
---
_Main/BL/Type_MatAttrSettingAndPlanStrategyInputSource/StaticMethod_upload.qbl | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/_Main/BL/Type_MatAttrSettingAndPlanStrategyInputSource/StaticMethod_upload.qbl b/_Main/BL/Type_MatAttrSettingAndPlanStrategyInputSource/StaticMethod_upload.qbl
index be023c4..16be5bb 100644
--- a/_Main/BL/Type_MatAttrSettingAndPlanStrategyInputSource/StaticMethod_upload.qbl
+++ b/_Main/BL/Type_MatAttrSettingAndPlanStrategyInputSource/StaticMethod_upload.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod Upload (
- GlobalOTDTable parent,
+ GlobalOTDTable globalOTDTable,
String filePath,
String base64Str,
String userName
@@ -9,16 +9,15 @@
{
TextBody:
[*
- // yypsybs Jul-1-2023 (created)
- parent.MatAttrSettingAndPlanStrategyInputSource( relflush );
- info( "filePath : " + filePath );
+ globalOTDTable.MatAttrSettingAndPlanStrategyInputSource( relflush );
+
fileName := filePath.Tokenize( "\" ).Element( filePath.Tokenize( "\" ).Size() - 1 );
- info( "fileName : " + fileName );
- inputSource := parent.MatAttrSettingAndPlanStrategyInputSource( relnew,
- FileName := fileName,
- Base64Str := base64Str,
- IsXlsx := fileName.EndsWith( "xlsx" ),
- UserName := userName );
+
+ inputSource := globalOTDTable.MatAttrSettingAndPlanStrategyInputSource( relnew,
+ FileName := fileName,
+ Base64Str := base64Str,
+ IsXlsx := fileName.EndsWith( "xlsx" ),
+ UserName := userName );
return inputSource;
*]
--
Gitblit v1.9.3