From 5fa4a6a06c62fd41731ff6cc1f1f6e031bd7436f Mon Sep 17 00:00:00 2001 From: yypsybs <yypsybs@foxmail.com> Date: 星期三, 18 十月 2023 09:50:10 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev --- _Main/BL/Type_VersionControl/StaticMethod_FindReleasedVersions.qbl | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/_Main/BL/Type_VersionControl/StaticMethod_FindReleasedVersions.qbl b/_Main/BL/Type_VersionControl/StaticMethod_FindReleasedVersions.qbl index 7e7ec19..59dd8e3 100644 --- a/_Main/BL/Type_VersionControl/StaticMethod_FindReleasedVersions.qbl +++ b/_Main/BL/Type_VersionControl/StaticMethod_FindReleasedVersions.qbl @@ -1,7 +1,7 @@ Quintiq file version 2.0 #parent: #root StaticMethod FindReleasedVersions ( - GlobalOTDTable globalotdtable, + GlobalOTDSOP globalotdsop, String businesstype, String versionid ) as owning VersionControls @@ -12,7 +12,10 @@ // Administrator Sep-13-2023 (created) // Get the latest version data - latestversion := selectset( globalotdtable, VersionControl, version, version.BusinessType()=businesstype and version.IsReleased()=true and version.VersionID().FindString( versionid, 0 ) = 0 ); + latestversion := selectset( globalotdsop, + VersionControl, + version, + version.BusinessType()=businesstype and version.IsReleased()=true and version.VersionID().FindString( versionid, 0 ) = 0 ); return &latestversion; *] -- Gitblit v1.9.3