diff --git a/FengHuang/src/main/resource/Sql/organization.sql b/FengHuang/src/main/resource/Sql/organization.sql index a8d238d..09c0c27 100644 --- a/FengHuang/src/main/resource/Sql/organization.sql +++ b/FengHuang/src/main/resource/Sql/organization.sql @@ -84,7 +84,7 @@ -- 组织机构部门树 #sql("getOrgTreeByBureauId") - select org_id,org_name,(case when bureau_id=org_id then '-1' else parent_id end) as parent_id,bureau_id,department_type_id from t_base_organization where bureau_id=? + select org_id,org_name,(case when bureau_id=org_id then '-1' else parent_id end) as parent_id,bureau_id,school_type_id,department_type_id from t_base_organization where bureau_id=? and b_use=1 order by sort_id,update_ts #end