组织架构图查询条件
This commit is contained in:
parent
80628881cb
commit
fef2717962
|
|
@ -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…
Reference in New Issue