tudc vor 5 Jahren
Ursprung
Commit
4a17873cab

+ 7 - 3
src/main/java/com/minpay/reportManage/action/JtfjtReportAction.java

@@ -1,5 +1,6 @@
 package com.minpay.reportManage.action;
 
+import java.io.IOException;
 import java.io.OutputStream;
 import java.lang.reflect.InvocationTargetException;
 import java.text.ParseException;
@@ -11,6 +12,7 @@ import java.util.Map;
 import javax.servlet.http.HttpServletResponse;
 
 import org.apache.poi.hssf.usermodel.HSSFWorkbook;
+import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
 
 import com.minpay.common.bean.User;
 import com.minpay.common.constant.Constant;
@@ -231,6 +233,8 @@ public class JtfjtReportAction implements IMINAction {
      * @throws IllegalAccessException 
      * @throws SecurityException 
      * @throws NoSuchMethodException 
+     * @throws IOException 
+     * @throws InvalidFormatException 
      */
     @MINAction(value = REPORT_NEED_DATA_DETAIL)
     public MINActionResult reportNeedDataDetail(
@@ -246,13 +250,13 @@ public class JtfjtReportAction implements IMINAction {
     		@MINParam(key = "yearChoose") String yearChoose,
     		@MINParam(key = "DdyDateRange") String DdyDateRange,
     		@MINParam(key = "ddyFxbId") String ddyFxbId
-    		) throws MINBusinessException, ParseException, NoSuchMethodException, SecurityException, IllegalAccessException, IllegalArgumentException, InvocationTargetException {
+    		) throws MINBusinessException, ParseException, NoSuchMethodException, SecurityException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, InvalidFormatException, IOException {
     	MINActionResult res = new MINActionResult();
     	
     	// 报表类型id
     	String reportTypeId = reportInf.split("_")[0];
     	
-    	Map<String, String> param = new HashMap<String, String>();
+    	Map<String, Object> param = new HashMap<String, Object>();
     	param.put("monthChoose", monthChoose);
     	param.put("range", range);
     	param.put("timeRange", timeRange);
@@ -265,7 +269,7 @@ public class JtfjtReportAction implements IMINAction {
     	param.put("yearChoose", yearChoose);
     	param.put("DdyDateRange", DdyDateRange);
     	param.put("ddyFxbId", ddyFxbId);
-    	Map<String, String> resMap = Service.lookup(IReportService.class).reportNeedDetail(param);
+    	Map<String, Object> resMap = Service.lookup(IReportService.class).reportNeedDetail(param);
     	res.set(IMINBusinessConstant.F_PAGING_LAY, resMap);
     	return res;
     }