@Select("select p.dimension_value_id as DimensionValueID, p.dimension_id as DimensionID, d.name as DimensionName, p.dimension_value_name as DimensionValue "
+"from (select id as DimensionValueID, name as DimensionValueName, is_active as IsActive, #{dimensionId} as DimensionID, "
+"create_time as CreateTime,update_time as UpdateTime from business_unit where is_active = 1 "+"union "
+"select id as DimensionValueID, name as DimensionValueName,is_active as IsActive,dimension_id as DimensionID,create_time as CreateTime,update_time as UpdateTime "
+"from dimension_value) p "+"join dimension d on p.dimension_id = d.id "+"where d.is_active = 1")
@Select("select p.Dimension_Value_ID, p.Dimension_ID, d.Name as DimensionName, p.Dimension_Value_Name as Dimension_Value "
+"from (select id as Dimension_Value_ID, name as Dimension_Value_Name, is_active as Is_Active, #{dimensionId} as Dimension_ID, "
+"create_time as Create_Time, update_time as Update_Time from business_unit where is_active = 1 "+"union "
+"select id as DimensionValueID, name as DimensionValueName, is_active as Is_Active, dimension_id as Dimension_ID, create_time as Create_Time, update_time as Update_Time"
+" from dimension_value) p "+"join dimension d on p.Dimension_ID = d.id "+"where d.is_active = 1")