Merge pull request !187 from reset/feature/cl
pull/188/MERGE
reset 3 years ago committed by Gitee
commit ad5cfbb527
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -38,11 +38,9 @@ public class OrgChartServiceImpl extends Service implements OrgChartService {
fclasslist.add(item);
}
rs.executeQuery("select id, fnumber, fname from jcl_org_map " +("company".equals(type) ? "where ftype in (0, 1, 2)" : "") +" order by ftype , id ");
rs.executeQuery("select id, fnumber, fname from jcl_org_map where ftype in (0, 1) order by ftype , id ");
List<Map<String, Object>> companylist = new ArrayList<>();
Map<String, Object> defaultCompanyItem = new HashMap<>();
defaultCompanyItem.put("id", "0");
defaultCompanyItem.put("fname", "集团");
companylist.add(defaultCompanyItem);
while(rs.next()) {
Map<String, Object> item = new HashMap<>();

Loading…
Cancel
Save