|
@@ -120,7 +120,12 @@ public class CountAnswerServiceImpl extends IBaseServiceImpl<CountAnswerEntity,
|
|
|
}
|
|
|
|
|
|
|
|
|
- private Map<String , Object> percent(Map<String, List<CountAnswerVo> > resCount){
|
|
|
+ /**
|
|
|
+ * 计算百分比
|
|
|
+ * @param resCount
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ private Map<String , Object> percent(Map<String, List<CountAnswerVo> > resCount){
|
|
|
|
|
|
Map<String, Object > res = new HashMap<>();
|
|
|
for (Map.Entry<String, List<CountAnswerVo>> m : resCount.entrySet()){
|