这段程序应该怎么添加if和else的标签?
Selece ........
FROM ......
当判断b 不为空时执行下面的代码 ,为空则执行 where id= ..
LEFT JOIN
......
LEFT JOIN
....
where org.ENTERPRISE_NAME is not null
<#if monType !=''>
and w.MON_TYPE = '${monType}'
</#if>
ORDER BY tt asc