Commit b471704f authored by Quxl's avatar Quxl

x

parent 29ebf6a2
...@@ -749,6 +749,6 @@ public class ReviewServiceImpl implements ReviewService { ...@@ -749,6 +749,6 @@ public class ReviewServiceImpl implements ReviewService {
count_foujue_map.put("count", count_foujue); count_foujue_map.put("count", count_foujue);
count_foujue_map.put("rate", (count.compareTo(BigDecimal.ZERO) == 0 ? "0.00" : new BigDecimal(count_foujue).multiply(NUM_100).divide(count, 2, BigDecimal.ROUND_HALF_UP)) + "%"); count_foujue_map.put("rate", (count.compareTo(BigDecimal.ZERO) == 0 ? "0.00" : new BigDecimal(count_foujue).multiply(NUM_100).divide(count, 2, BigDecimal.ROUND_HALF_UP)) + "%");
return Rjx.json().set("count", count_quanbu).setData(new Object[] {count_canzan_map, count_cansai_map, count_foujue_map}).getMap(); return Rjx.json().set("count", count_quanbu).setData(new Object[] {count_canzan_map, count_cansai_map, count_csbx_map, count_foujue_map}).getMap();
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment