resultInfo = reportManagementService.modifyReportTemplate(request.getParameter("action"),request.getParameter("id"),parameterMap);
return SUCCESS;
}
public String render() {
ReportManagementService reportManagementService = (ReportManagementService)StorageService.ctx.getBean("reportManagementService");
if(reportManagementService!=null){
try {
String data = request.getParameter("data");
// resultInfo = reportManagementService.render(data,false);
if(data!=null){
String merge = request.getParameter("merge");
boolean isMerge = true;
if(StringUtils.equalsIgnoreCase(merge, "false")||StringUtils.equalsIgnoreCase(merge, "n")){
isMerge = false;
}
// query = URLDecoder.decode(query, "UTF-8");
data = URLDecoder.decode(data, "UTF-8");
// data = TestData();
resultInfo = reportManagementService.render(data,isMerge);
}
} catch (Exception e) {
e.printStackTrace();
resultInfo.setFailed(e.getMessage());