Freemaker:操作集合

<#if (id?index_of('Base') >= 0)>
<choose>
<when test="rootOrgID !=null and rootOrgID != ''">
rootOrgID = ${"#{"+'rootOrgID'+"}"}
</when>
<otherwise>
branchOrgID = ${"#{"+'rootOrgID'+"}"}
</otherwise>
</choose>
<#else>
<choose>
<when test="schoolID !=null and schoolID != ''">
schoolID = ${"#{"+'schoolID'+"}"}
</when>
<otherwise>
branchSchoolID = ${"#{"+'branchSchoolID'+"}"}
</otherwise>
</choose>
</#if>
上一篇:SmartQQ二维码登陆接口分析


下一篇:《OD大数据实战》HDFS入门实例