dzx 6 ヶ月 前
コミット
56a857b333

+ 2 - 2
src/main/java/com/xjrsoft/module/databoard/controller/DatadetailController.java

@@ -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()));