Commit 7690f23139d259da65507b1525a0743756b65536
1 parent
31c980a7
update
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/bsth/service/schedule/impl/PeopleCarPlanServiceImpl.java
| ... | ... | @@ -1754,12 +1754,12 @@ public class PeopleCarPlanServiceImpl implements PeopleCarPlanService { |
| 1754 | 1754 | if(resList.size() > 0){ |
| 1755 | 1755 | tempMap.put("date", "合计汇总"); |
| 1756 | 1756 | int jhbc = 0, sjbc = 0, i = 0; |
| 1757 | - tempMap.put("jhbc", jhbc); | |
| 1758 | - tempMap.put("sjbc", sjbc); | |
| 1759 | 1757 | for(Map<String, Object> m : resList){ |
| 1760 | 1758 | jhbc += Integer.valueOf(m.get("jhbc").toString()); |
| 1761 | 1759 | sjbc += Integer.valueOf(m.get("sjbc").toString()); |
| 1762 | 1760 | } |
| 1761 | + tempMap.put("jhbc", jhbc); | |
| 1762 | + tempMap.put("sjbc", sjbc); | |
| 1763 | 1763 | tempMap.put("zdl", nf.format((float) sjbc / jhbc * 100) + "%"); |
| 1764 | 1764 | for(Map<String, Object> m : mapList){ |
| 1765 | 1765 | m.put("no", ++i); | ... | ... |