方式一:.
Map<String, Double> countType = countTableMapper.getCountType();
格式处理:结果为-count1111:
DecimalFormat df=new DecimalFormat("#.00");
Double count11 = countType.get("count11");
String count1111 = df.format(count11);
方式二:.
格式处理:结果为-count111 :
String count111 =
String.format("%.2f", Math.abs(count11));