kgdxpr 3 years ago
commit 32b4533146

@ -84,7 +84,7 @@
-- 组织机构部门树 -- 组织机构部门树
#sql("getOrgTreeByBureauId") #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 and b_use=1 order by sort_id,update_ts
#end #end

Loading…
Cancel
Save