|
|
|
@@ -646,7 +646,8 @@ public class WxCUserBasicInfoServiceImpl implements WxCUserBasicInfoService { |
|
|
|
try { |
|
|
|
File file = new File(filepath); |
|
|
|
workbook = new SXSSFWorkbook(100); |
|
|
|
SXSSFSheet sheetTwo = workbook.createSheet((record.getIsPay()!=null && 1==record.getIsPay())?"线上缴费车辆列表":"进出车辆列表"); |
|
|
|
String sheetName = (record.getIsPay()!=null && 1==record.getIsPay())?"线上缴费车辆列表":"进出车辆列表"; |
|
|
|
SXSSFSheet sheetTwo = workbook.createSheet(sheetName); |
|
|
|
Row rowtwo = sheetTwo.createRow(0); |
|
|
|
Cell cell1 = rowtwo.createCell(0); |
|
|
|
Cell cell2 = rowtwo.createCell(1); |
|
|
|
@@ -686,7 +687,8 @@ public class WxCUserBasicInfoServiceImpl implements WxCUserBasicInfoService { |
|
|
|
workbook.write(fileOut); |
|
|
|
fileOut.close(); |
|
|
|
workbook.close(); |
|
|
|
downFile(filepath, filename,(record.getIsPay()!=null && 1==record.getIsPay())?"线上缴费车辆数据":"进出车辆数据"+".xlsx",response, request); |
|
|
|
String name = (record.getIsPay()!=null && 1==record.getIsPay())?"线上缴费车辆数据":"进出车辆数据"; |
|
|
|
downFile(filepath, filename,name+".xlsx",response, request); |
|
|
|
FileUtils.forceDelete(file); |
|
|
|
} catch (Exception e) { |
|
|
|
e.printStackTrace(); |
|
|
|
|