摘要:
//service 层SimpleDateFormat sf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");// 获取当天凌晨0点0分0秒DateCalendar begin = Calendar.getInstance();begin.set(begi 阅读全文
摘要:
Spring中使用JdbcTemplate的queryForObject方法,当查不到数据时会抛出如下异常: [java] view plain copy public static <T> T requiredSingleResult(Collection<T> results) throws I 阅读全文