select sys_org.* from sys_org where sys_org.del_flag = 0 {{if ne .role_rule ""}} and {{.role_rule}} {{end}}