我用条件属性的方式制作了一个跳转页面:type=0(累计数据) type=1 (当月数据)制作了两个SQL:累计一个 ,当月一个现在需求是合并SQL该如何实现呢?控件=当月,‘’当月数据 or 同期数据“,“累计数据 or 同期累计”${if(type <> 0," and calmonth='${format(MONTHDELTA(ny,0),"yyyyMM")}' or calmonth='${format(MONTHDELTA(ny,-12),"yyyyMM")}' "," and (calmonth between'${=FORMAT(DATEINYEAR(YEARDELTA(ny,-1),1),"yyyyMM")}'and'${format(MONTHDELTA(ny,-12),"yyyyMM")}') or(calmonth between'${=FORMAT(DATEINYEAR(ny,1),"yyyyMM")}'and'${=FORMAT(ny,"yyyyMM")}') " ) }这样写吗?测试了没有生效