select a.* from t_pkg_postageapp a,t_brch b WHERE 1=1${if(len(index) == 0,"","and title like '%" + index + "%'")}$(if(${operlevel} ='1',"",if(${operlevel} ='2',"and a.brchcode=b.citycode",if(${operlevel} ='3',"and a.brchcode=b.brchcode","")))) and a.brchcode = '${brchcode}'数据集的查询语句是这个,index是文本控件值,operlevel,brchcode是外部系统引用传入的参数,这样写老是报语法错误,是说if里面不能写参数么?