Merge branch 'dev'
This commit is contained in:
commit
03a0b43941
|
@ -485,10 +485,10 @@ public class CensusController {
|
|||
ArrayList<Map> resultList = (ArrayList<Map>) resourceService.selectCensusResourceTable(params);
|
||||
List<List<Object>> date = resultList.stream().map(index -> {
|
||||
List<Object> data = new ArrayList<>();
|
||||
data.add(index.getOrDefault("deptName", "").toString());
|
||||
data.add(index.getOrDefault("type", "").toString());
|
||||
data.add(index.getOrDefault("resourceName", "").toString());
|
||||
data.add(index.getOrDefault("createDate", "").toString());
|
||||
data.add(index.getOrDefault("deptName", ""));
|
||||
data.add(index.getOrDefault("type", ""));
|
||||
data.add(index.getOrDefault("resourceName", ""));
|
||||
data.add(index.getOrDefault("createDate", ""));
|
||||
data.add(index.getOrDefault("approveStatus", "").toString());
|
||||
return data;
|
||||
}).collect(Collectors.toList());
|
||||
|
@ -550,12 +550,12 @@ public class CensusController {
|
|||
ArrayList<Map> resultList = (ArrayList<Map>) resourceService.selectCensusApplyTable(params);
|
||||
List<List<Object>> date = resultList.stream().map(index -> {
|
||||
List<Object> data = new ArrayList<>();
|
||||
data.add(index.getOrDefault("resourceDeptName", "").toString());
|
||||
data.add(index.getOrDefault("resourceName", "").toString());
|
||||
data.add(index.getOrDefault("type", "").toString());
|
||||
data.add(index.getOrDefault("deptName", "").toString());
|
||||
data.add(index.getOrDefault("createDate", "").toString());
|
||||
data.add(index.getOrDefault("approveStatus", "").toString());
|
||||
data.add(index.getOrDefault("resourceDeptName", ""));
|
||||
data.add(index.getOrDefault("resourceName", ""));
|
||||
data.add(index.getOrDefault("type", ""));
|
||||
data.add(index.getOrDefault("deptName", ""));
|
||||
data.add(index.getOrDefault("createDate", ""));
|
||||
data.add(index.getOrDefault("approveStatus", ""));
|
||||
return data;
|
||||
}).collect(Collectors.toList());
|
||||
response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
|
||||
|
|
Loading…
Reference in New Issue