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