调整模板下载的type区分后调用下载模板方法

This commit is contained in:
anhc 2022-09-14 17:18:12 +08:00
parent 292a586878
commit 36cff36d30
2 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ public class BatchWeb extends ActionWeb {
if (BatchConst.PROCESS_LIST.equals(type)) { if (BatchConst.PROCESS_LIST.equals(type)) {
ro = new CreateProcessExcel().createProcessTemplate(uc, wsId, methodCategory); ro = new CreateProcessExcel().createProcessTemplate(uc, wsId, methodCategory);
} else if (BatchConst.SHAPE_LIST.equals(type)) { } else if (BatchConst.SHAPE_LIST.equals(type)) {
ro = new CreateShapeExcel().createShapeImportTemplate(uc, wsId, methodCategory); ro = new CreateShapeExcel().createShapeTemplate(uc, wsId, methodCategory);
} else if (BatchConst.SHAPE_IMPORT.equals(type)) { } else if (BatchConst.SHAPE_IMPORT.equals(type)) {
ro = new CreateShapeExcel().createShapeImportTemplate(uc, wsId, methodCategory); ro = new CreateShapeExcel().createShapeImportTemplate(uc, wsId, methodCategory);
} }