Browse Source

多余代码去掉

zhouy 4 years ago
parent
commit
6141cd07e7
1 changed files with 0 additions and 4 deletions
  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,
 			export(userName, profile, reportName, whereCondition, otherParameters, ReportConstants.FILE_TYPE_EXCEL_DATA,
 					true, title, request, response);
 					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)) {
 		else if (printType.equals(ReportConstants.PRINT_TYPE_EXCEL_FORMAT)) {
 			export(userName, profile, reportName, whereCondition, otherParameters, ReportConstants.FILE_TYPE_EXCEL,
 			export(userName, profile, reportName, whereCondition, otherParameters, ReportConstants.FILE_TYPE_EXCEL,
 					true, title, request, response);
 					true, title, request, response);