大佬们,这个动态拼接sql写法为啥不行:数据库为PG数据库select t1.confirm_date, t1.dept_id, t1.dept_name, round(coalesce(t1.cost_amt,0)/10000,1) as cost_amtFROM ${IF(TYPE == '合同1'," DIV_CON t1 ", ${IF(TYPE == '合同2'," RE_CON t1 ", ${IF(TYPE == '收款1'," DIV_COLL t1 ", " RE_COLL t1 ")} )} )} inner join DEPT ON t1.DEPT_ID = DEPT.CHILD_DEPT_ID