2018-01-02
2018-01-02 本文已影响0人
老文_汉水
@RequestMapping(value = "/printTemplate.bo")
public ModelAndView printTemplate(HttpServletRequest request, BaseRequest breq) {
ModelAndView mav = new ModelAndView();
BaseResponse bres = new BaseResponse(getService().getEcode());
try {
getService().printTemplate(request, breq, bres, mav);
} catch (Exception e) {
setMAVOnException(request, e, mav);
}
if (log.isInfoEnabled()) {
log.info("to : \r\n" + mav.toString());
}
return mav;
}