@RequestMapping("updateUser")
 public String updateProduct(
     String ctime_es,
     String utime_es,
     String btime_es,
     String etime_es,
     String logtime_es,
     String birthday_es,
     User user,
     HttpServletRequest request) {
   user.setCtime(DateUtil.getDateFromStr(ctime_es, "yyyy-MM-dd hh:mm:ss"));
   user.setUtime(DateUtil.getDateFromStr(utime_es, "yyyy-MM-dd hh:mm:ss"));
   user.setBtime(new Date());
   user.setEtime(new Date());
   user.setLogtime(DateUtil.getDateFromStr(logtime_es, "yyyy-MM-dd hh:mm:ss"));
   user.setBirthday(DateUtil.getDateFromStr(birthday_es, "yyyy-MM-dd"));
   baseService.update(user);
   return "redirect:user.html";
 }
  @RequestMapping("saveUser")
  public String saveUser(
      String ctime_as,
      String utime_as,
      String btime_as,
      String etime_as,
      String logtime_as,
      String birthday_as,
      User user,
      HttpServletRequest request) {
    user.setCtime(DateUtil.getDateFromStr(ctime_as, "yyyy-MM-dd hh:mm:ss"));
    user.setUtime(DateUtil.getDateFromStr(utime_as, "yyyy-MM-dd hh:mm:ss"));
    user.setBtime(new Date());
    user.setEtime(new Date());
    user.setLogtime(DateUtil.getDateFromStr(logtime_as, "yyyy-MM-dd hh:mm:ss"));
    user.setBirthday(DateUtil.getDateFromStr(birthday_as, "yyyy-MM-dd"));
    if (user.getSsid() == null || user.getSsid() == 0)
      user.setSsid(userService.getMaxSsid("User") + 1);
    baseService.save(user);

    return "redirect:user.html";
  }