从数据库取数字,转为string,报错: java.math.BigDecimal cannot be cast to java.lang.String
Integer.parseInt((String)map.get("id"))
Object object = map.get("id"); Integer.parseInt(String.valueOf(object ));