浏览代码

多余代码去掉

zhouy 4 年之前
父节点
当前提交
6141cd07e7
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      src/main/java/com/uas/report/controller/PrintController.java

+ 0 - 4
src/main/java/com/uas/report/controller/PrintController.java

@@ -108,10 +108,6 @@ public class PrintController {
 			export(userName, profile, reportName, whereCondition, otherParameters, ReportConstants.FILE_TYPE_EXCEL_DATA,
 					true, title, request, response);
 		}
-		else if (printType.equals(ReportConstants.PRINT_TYPE_EXCEL)) {
-			export(userName, profile, reportName, whereCondition, otherParameters, ReportConstants.FILE_TYPE_EXCEL_DATA,
-					true, title, request, response);
-		}
 		else if (printType.equals(ReportConstants.PRINT_TYPE_EXCEL_FORMAT)) {
 			export(userName, profile, reportName, whereCondition, otherParameters, ReportConstants.FILE_TYPE_EXCEL,
 					true, title, request, response);