1;导出名不能有空格
This commit is contained in:
parent
ef81b36de6
commit
aaad86fd88
|
@ -77,10 +77,10 @@ public class BusIntegralHistoryInfoController extends BaseController
|
||||||
public void export(HttpServletResponse response, String account, String expStartTime, String expEndTime)
|
public void export(HttpServletResponse response, String account, String expStartTime, String expEndTime)
|
||||||
{
|
{
|
||||||
expStartTime = expStartTime + " 00:00:00";
|
expStartTime = expStartTime + " 00:00:00";
|
||||||
expEndTime = expEndTime + " 23:59:59";
|
String expEndTime1 = expEndTime + " 23:59:59";
|
||||||
List<BusIntegralHistoryInfo> list = busIntegralHistoryInfoService.selectBusIntegralHistoryInfoList1(account, expStartTime,expEndTime);
|
List<BusIntegralHistoryInfo> list = busIntegralHistoryInfoService.selectBusIntegralHistoryInfoList1(account, expStartTime,expEndTime1);
|
||||||
ExcelUtil<BusIntegralHistoryInfo> util = new ExcelUtil<BusIntegralHistoryInfo>(BusIntegralHistoryInfo.class);
|
ExcelUtil<BusIntegralHistoryInfo> util = new ExcelUtil<BusIntegralHistoryInfo>(BusIntegralHistoryInfo.class);
|
||||||
util.exportExcel(response, list, expEndTime,"帐分历史快照数据"+expEndTime);
|
util.exportExcel(response, list, expEndTime);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -289,7 +289,7 @@ export default {
|
||||||
handleExport(data) {
|
handleExport(data) {
|
||||||
this.download('business/integral/export', {
|
this.download('business/integral/export', {
|
||||||
...this.queryParams
|
...this.queryParams
|
||||||
}, data.storeName+`_${new Date().getTime()}.xlsx`)
|
}, `账分快照_${new Date().getTime()}.xlsx`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue