搜索条件修改
This commit is contained in:
parent
c38a758129
commit
c696835a33
|
|
@ -43,13 +43,15 @@ public class OrgChartServiceImpl extends Service implements OrgChartService {
|
|||
public Map<String, Object> getOptionCondition(Map<String, Object> request2Map, User user) {
|
||||
Map<String, Object> result = new HashMap<>();
|
||||
RecordSet rs = new RecordSet();
|
||||
rs.executeQuery("select id, companyname from HrmCompanyVirtual order by id");
|
||||
List<Map<String, Object>> fclasslist = new ArrayList<>();
|
||||
Map<String, Object> defaultItem = new HashMap<>();
|
||||
rs.executeQuery("select companyname from hrmcompany");
|
||||
rs.next();
|
||||
int fkey = 0;
|
||||
defaultItem.put("key", fkey++);
|
||||
defaultItem.put("id", "0");
|
||||
defaultItem.put("companyname", "行政维度");
|
||||
defaultItem.put("companyname", Util.null2String(rs.getString("companyname")));
|
||||
rs.executeQuery("select id, companyname from HrmCompanyVirtual order by id");
|
||||
List<Map<String, Object>> fclasslist = new ArrayList<>();
|
||||
fclasslist.add(defaultItem);
|
||||
while (rs.next()) {
|
||||
Map<String, Object> item = new HashMap<>();
|
||||
|
|
|
|||
Loading…
Reference in New Issue