希望您做得很好,我编写了一个MDX查询,如下所示:SUM(Periodstodate([DimTime].[Year].[(All)] ,[DimTime].[Year].currentmember) having [Measures].[IndentCount] > 0 on 0 ,
non empty [DimTime].[Year].[
我试图通过为Postgresql编写一个带有if条件的查询来使用NamedParameterJdbcTemplate中的查询。IF (:store=1) SELECT * FROM store_pricing WHERE store = :store and tot_store = :tot_store ORDER BY store asc;ELSE IF (:store = 2) SELECT * FROM store_pricing WHE