public String converStringToDate(
     @RequestParam(name = "d12", dateformat = "yyyy-MM-dd") java.util.Date d12,
     @RequestParam(name = "stringdate", dateformat = "yyyy-MM-dd") java.sql.Date stringdate,
     @RequestParam(name = "stringdatetimestamp", dateformat = "yyyy-MM-dd HH/mm/ss")
         java.sql.Timestamp stringdatetimestamp,
     @RequestParam(name = "stringdatetimestamp") String stringdatetimestamp_,
     ModelMap model) {
   model.put("java.util.Date", d12);
   model.put("java.sql.Date", stringdate);
   model.put("java.sql.Timestamp", stringdatetimestamp);
   return "path:convertok";
 }
  /**
   * 默认页面
   *
   * @param request HttpServletRequest
   * @param model 数据
   * @return 模板路径
   * @throws Exception
   */
  public String index(HttpServletRequest request, ModelMap model) throws Exception {
    String warrantId = this.loginService.getWarrantId();

    //		List<Map<String, Object>> objectMapList = this.workflowService.findTask(warrantId, 0, 20);
    List<Map<String, Object>> objectMapList = new ArrayList<Map<String, Object>>();
    for (int i = 0; i < 10; i++) {
      Map<String, Object> task = new HashMap<String, Object>();
      task.put("TASK_ID_", "TASK_ID_" + i);
      task.put("CREATE_PE_NA", "罗宏");
      task.put("message", "我要调入董办,请领导批准!");
      objectMapList.add(task);
    }
    model.addAttribute("taskList", objectMapList);

    return "path:index";
  }