Stringsql="select t1.org_id,t1.org_name,t1.parent_id,(select count(1) from t_base_organization as t2 where t1.org_id=t2.parent_id) as cnt from t_base_organization as t1 where t1.org_id=?";
Stringsql="select t1.org_id,t1.org_name,t1.school_type_id,t1.department_type_id,t1.parent_id,(select count(1) from t_base_organization as t2 where t1.org_id=t2.parent_id) as cnt from t_base_organization as t1 where t1.org_id=?";
returnDb.findFirst(sql,org_id);
}
@ -522,7 +522,11 @@ public class OrganizationModel {