public static Description findDimensionValueDescription(DimensionValue _dimensionValue, Name _dimensionAttributeName) { DimensionFinancialTag dimensionFinancialTag; DimensionAttributeDirCategory dimensionAttributeDirCategory; DimensionAttribute dimensionAttribute; select firstOnly Description from dimensionFinancialTag where dimensionFinancialTag.Value == _dimensionValue join DirCategory from dimensionAttributeDirCategory where dimensionAttributeDirCategory.DirCategory == dimensionFinancialTag.FinancialTagCategory join RecId from dimensionAttribute where dimensionAttribute.RecId == dimensionAttributeDirCategory.DimensionAttribute && DimensionAttribute.Name == _dimensionAttributeName; return dimensionFinancialTag.Description; }
时间: 2024-11-05 06:02:00