@RequestMapping("/advertising/o_update.do")
public String update(Integer queryAdspaceId, Boolean queryEnabled,
CmsAdvertising bean, Integer adspaceId, Integer pageNo,
HttpServletRequest request, ModelMap model) {
WebErrors errors = validateUpdate(bean.getId(), request);
if (errors.hasErrors()) {
return errors.showErrorPage(model);
}
Map<String, String> attr = RequestUtils.getRequestMap(request, "attr_");
// 去除为空串的属性
Set<String> toRemove = new HashSet<String>();
for (Entry<String, String> entry : attr.entrySet()) {