- select count(*) from app_user.sys_dept where status = 0 and del_flag = '0' and POSITION(CONCAT(',', #{deptId}, ',') IN CONCAT(',', ancestors, ',')) > 0
+ select count(*) from app_user.sys_dept where status = '0' and del_flag = '0' and POSITION(CONCAT(',', #{deptId}, ',') IN CONCAT(',', ancestors, ',')) > 0