xiaoyong931011
2022-05-05 0a6c8dbb6e6e2991890b38648a9acc55df87b9d8
Merge branch 'feature/订单服务单代码改造' of http://120.27.238.55:7000/r/beauty-erp into feature/订单服务单代码改造
1 files modified
2 ■■■ changed files
zq-erp/src/main/java/com/matrix/system/shopXcx/action/ShopOrderAction.java 2 ●●● patch | view | raw | blame | history
zq-erp/src/main/java/com/matrix/system/shopXcx/action/ShopOrderAction.java
@@ -281,7 +281,7 @@
            res.setContentType("application/octet-stream;charset=UTF-8");
            Date date = new Date();
            SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy年MM月dd日HH时mm分ss");
            SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
            res.setHeader("Content-Disposition", "attachment;filename=" +
                    java.net.URLEncoder.encode("订单列表" + dateFormat.format(date) + ".xlsx".trim(), "UTF-8"));