开发日记

125 阅读1分钟

字符串转换:lastVisitDate = new SimpleDateFormat("yyyy-MM-dd").parse(VisitDate);

问题:java.math.BigDecimal cannot be cast to java.lang.Integer

Integer id=Integer.parseInt(bigDecimal.toString());