Commit dfa2533210499ac2f6645e7db19cd96926d022db
1 parent
166bd93d95
Exists in
master
and in
6 other branches
改bug
Showing 1 changed file with 2 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java
View file @
dfa2533
... | ... | @@ -439,13 +439,14 @@ |
439 | 439 | } |
440 | 440 | |
441 | 441 | private void setCountList(List<List<String>> tabList, List<String> countList, int index) { |
442 | + | |
442 | 443 | if(tabList.size() > 1) { |
443 | 444 | countList.add(tabList.size() + ""); |
444 | 445 | countList.add("合计"); |
445 | 446 | if(index == 4) { |
446 | 447 | int orgCount = 0; |
447 | 448 | for (int i = 1; i < tabList.size(); i++) { |
448 | - orgCount += Integer.parseInt(tabList.get(i).get(4)); | |
449 | + orgCount += Integer.parseInt(tabList.get(i).get(2)); | |
449 | 450 | } |
450 | 451 | countList.add(orgCount + ""); |
451 | 452 | } |