public class Spreadsheet extends MyBaseAction
{
public String addBlankReportTemplate()
{
SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
if(spreadsheetService!=null)
{
/**
* 虽然只有一个name,无其它属性,但接口中仍要有Map型的参数
* 否则aop checkName时会报错
* */
resultInfo = spreadsheetService.addBlankReportTemplate(request.getParameter("category_id"),request.getParameter("name")
,parameterMap);
}
return SUCCESS;
}