|
@@ -1531,7 +1531,7 @@ public class TOrderController {
|
|
|
os = response.getOutputStream();
|
|
|
SimpleDateFormat format = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
response.setContentType("application/vnd.ms-excel;charset=utf-8");
|
|
|
- response.setHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode("订单记录数据导出" + format.format(new Date()) + ".xls", "UTF-8"));
|
|
|
+ response.setHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode("订单记录-" + format.format(new Date()) + ".xls", "UTF-8"));
|
|
|
workbook.write(os);
|
|
|
// return JsonMessage.success("导出成功");
|
|
|
} catch (Exception e) {
|
|
@@ -1704,7 +1704,7 @@ public class TOrderController {
|
|
|
IPage<TCoinOrder> iPage = coinOrderService.page(page, query);
|
|
|
List<TCoinOrder> list = iPage.getRecords();
|
|
|
List<CoinOrderTarget> coinOrderTargets = coinOrderService.findByCoinOrder(admin, list);
|
|
|
- ExportParams exportParams = new ExportParams("线下订单记录", "sheet1");
|
|
|
+ ExportParams exportParams = new ExportParams("Order Record", "sheet1");
|
|
|
Workbook workbook = ExcelExportUtil.exportExcel(exportParams, CoinOrderTarget.class, coinOrderTargets);
|
|
|
|
|
|
if (workbook != null) {
|
|
@@ -1713,7 +1713,7 @@ public class TOrderController {
|
|
|
os = response.getOutputStream();
|
|
|
SimpleDateFormat format = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
response.setContentType("application/vnd.ms-excel;charset=utf-8");
|
|
|
- response.setHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode("线下订单记录数据导出" + format.format(new Date()) + ".xls", "UTF-8"));
|
|
|
+ response.setHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode("OrderRecord-" + format.format(new Date()) + ".xls", "UTF-8"));
|
|
|
workbook.write(os);
|
|
|
return JsonMessage.success("导出成功");
|
|
|
} catch (Exception e) {
|