ht.id, ht.create_by, ht.create_date, ht.update_by, ht.update_date, ht.del_flag, ht.remarks, ht.name, ht.parent_id, ht.level, ht.sort, ht.parent_ids
select from help_tree ht ${ew.customSqlSegment}
select from help_tree ht where ht.del_flag = '0' and ht.id = #{id}
select from help_tree ht where ht.del_flag = '0' and ht.parent_id = '0'
select from help_tree ht where ht.del_flag = '0' and ht.parent_id = ${id}