|
楼主 |
发表于 2017-9-22 13:32:37
|
显示全部楼层
org.jeecgframework.core.extend.hqlsearch.HqlGenerateUtil.installHql(cq, tradeOrder, request.getParameterMap());
List<TradeOrderEntity> tradeOrders = this.tradeOrderService.getListByCriteriaQuery(cq, false);
modelMap.put(NormalExcelConstants.FILE_NAME, "交易记录");
modelMap.put(NormalExcelConstants.CLASS, TradeOrderEntity.class);
modelMap.put(NormalExcelConstants.PARAMS, new ExportParams("交易记录列表", "导出人:" + ResourceUtil.getSessionUserName().getRealName(),
"导出信息"));
modelMap.put(NormalExcelConstants.DATA_LIST, tradeOrders);
return NormalExcelConstants.JEECG_EXCEL_VIEW; |
|