yypsybs
2023-10-08 f5d6db2a9edfb82bbdb1ce5688c00df7dc101e83
_Main/BL/Type_BusinessType/StaticMethod_GetScenarioNamesStr.qbl
ÎļþÃû´Ó _Main/BL/Type_BusinessType/StaticMethod_GetBusinessNameStr.qbl ÐÞ¸Ä
@@ -1,6 +1,6 @@
Quintiq file version 2.0
#parent: #root
StaticMethod GetBusinessNameStr (
StaticMethod GetScenarioNamesStr (
  GlobalOTDTable owner
) as String
{
@@ -9,18 +9,18 @@
    // NBoTk Sep-7-2023 (created)
    // èŽ·å–businessType é›†åˆ
    result := "";
    businessTypeList := construct( structured[String]);
    scenarioNameList := construct( structured[String]);
    
    traverse( owner,BusinessType,b)
    {
        businessTypeList.Add( b.BusinessTypeName());
        scenarioNameList.Add( b.ScenarioName() );
    }
    
    // å¦‚果存在businessType数据 åˆ™è¿”回 : a,b,c
    
    if( not isnull( businessTypeList ) )
    if( not isnull( scenarioNameList ) )
    {
        result := businessTypeList.Concatenate( ";" );
        result := scenarioNameList.Concatenate( ";" );
    }
    
    // æµ‹è¯•数据