SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
Date date = new Date();
String shijian = sdf.format(date);
HashMap ext = new HashMap();
if (request.getParameter("f") != null) {
Date d = new Date(date.getTime() + 24 * 3600 * 1000 * Integer.parseInt(kejietianshu));
String guihuanriqi = sdf.format(d);
ext.put("guihuanriqi", guihuanriqi);
ext.put("issh", "否");
}
new CommDAO().insert(request, response, "jieyue", ext, true, false,
"");