1;导出名不能有空格

This commit is contained in:
wangshuai 2024-08-21 09:08:15 +08:00
parent ef81b36de6
commit aaad86fd88
2 changed files with 4 additions and 4 deletions

View File

@ -77,10 +77,10 @@ public class BusIntegralHistoryInfoController extends BaseController
public void export(HttpServletResponse response, String account, String expStartTime, String expEndTime)
{
expStartTime = expStartTime + " 00:00:00";
expEndTime = expEndTime + " 23:59:59";
List<BusIntegralHistoryInfo> list = busIntegralHistoryInfoService.selectBusIntegralHistoryInfoList1(account, expStartTime,expEndTime);
String expEndTime1 = expEndTime + " 23:59:59";
List<BusIntegralHistoryInfo> list = busIntegralHistoryInfoService.selectBusIntegralHistoryInfoList1(account, expStartTime,expEndTime1);
ExcelUtil<BusIntegralHistoryInfo> util = new ExcelUtil<BusIntegralHistoryInfo>(BusIntegralHistoryInfo.class);
util.exportExcel(response, list, expEndTime,"帐分历史快照数据"+expEndTime);
util.exportExcel(response, list, expEndTime);
}
/**

View File

@ -289,7 +289,7 @@ export default {
handleExport(data) {
this.download('business/integral/export', {
...this.queryParams
}, data.storeName+`_${new Date().getTime()}.xlsx`)
}, `账分快照_${new Date().getTime()}.xlsx`)
}
}
};