Explorar el Código

多余代码去掉

zhouy hace 4 años
padre
commit
6141cd07e7
Se han modificado 1 ficheros con 0 adiciones y 4 borrados
  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);