@RequestMapping("cal-info-save")
public String save(@ModelAttribute CalInfo calInfo,
@RequestParam Map<String, Object> parameterMap,
RedirectAttributes redirectAttributes) {
CalInfo dest = null;
Long id = calInfo.getId();
if (id != null) {
dest = calInfoManager.get(id);
beanMapper.copy(calInfo, dest);
} else {
dest = calInfo;
String userId = SpringSecurityUtils.getCurrentUserId();
dest.setUserId(Long.parseLong(userId));
}
calInfoManager.save(dest);
messageHelper.addFlashMessage(redirectAttributes, "core.success.save",