freemarker中非空判断、三目运算的例子

来源:互联网 发布:服务器默认端口号 编辑:程序博客网 时间:2024/05/17 01:45


freemarker中非空判断、三目运算的例子:

  <#if (applyBaseinfoEntity.applyException)??>        ${(applyBaseinfoEntity.applyException == '0')?string('否','是')?html}  </#if>

原创粉丝点击