java.sql.Date与 java.util.Date
ps.setDate(8, new java.sql.Date(new java.util.Date().getTime()));
ps.setDate(9, new java.sql.Date(new java.util.Date().getTime()));
//Date parse = (java.sql.Date) sdf.parse(sdf.format(new java.util.Date()));
Calendar calendar = Calendar.getInstance();
calendar.setTime(new java.util.Date());
calendar.add(Calendar.MONTH, 6);
java.util.Date endDate = (java.util.Date) calendar.getTime();
ps.setDate(10, new java.sql.Date(endDate.getTime()));