<#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>