and ((bi.supervise_org_code != '50' and bi.supervise_org_code LIKE CONCAT (#{dpFilterParamDto.orgCode}, '%')) or (bi.supervise_org_code = '50' and bi.office_region LIKE CONCAT ('%', #{dpFilterParamDto.cityCode}, '%')))
and tui.is_delete=false
<iftest="unitTypeList != null and unitTypeList.size > 0">
and
<foreachcollection="unitTypeList"item="item"index="index"open="("close=")"separator=" or ">