Commit abd97c5f authored by Quxl's avatar Quxl

x

parent 4ca90b26
......@@ -720,6 +720,6 @@ public class ReviewServiceImpl implements ReviewService {
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)) + "%");
return Rjx.json().set("count", count_quanbu).setData(new Object[] {count_canzan_map, count_cansai_map, count_foujue_map});
return Rjx.json().set("count", count_quanbu).setData(new Object[] {count_canzan_map, count_cansai_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