|
@@ -337,7 +337,7 @@ public class DatadetailController {
|
|
|
list = SqlRunnerAdapter.db().selectList(sql);
|
|
|
List<ItemCountVo> employList = new ArrayList<>();
|
|
|
for (Map<String, Object> objectMap : list) {
|
|
|
- genderList.add(
|
|
|
+ employList.add(
|
|
|
new ItemCountVo(){{
|
|
|
setItem(objectMap.get("item").toString());
|
|
|
setCount(Integer.parseInt(objectMap.get("a_count").toString()));
|
|
@@ -355,7 +355,7 @@ public class DatadetailController {
|
|
|
list = SqlRunnerAdapter.db().selectList(sql);
|
|
|
List<ItemCountVo> deptList = new ArrayList<>();
|
|
|
for (Map<String, Object> objectMap : list) {
|
|
|
- genderList.add(
|
|
|
+ deptList.add(
|
|
|
new ItemCountVo(){{
|
|
|
setItem(objectMap.get("item").toString());
|
|
|
setCount(Integer.parseInt(objectMap.get("a_count").toString()));
|