|
@@ -71,11 +71,14 @@ public class JixiaoPersonPriceServiceImpl extends ServiceImpl<JixiaoPersonPriceM
|
|
|
List<ExcelExportEntity> filedsList = new ArrayList<>();
|
|
|
if(exportList != null && !exportList.isEmpty()){
|
|
|
Map map = exportList.get(0);
|
|
|
+ filedsList.add(new ExcelExportEntity("委托编号", "weituo_no"));
|
|
|
// 打印键集合
|
|
|
for (Object key : map.keySet()) {
|
|
|
System.out.println((String) key);
|
|
|
+ if(key.equals("weituo_no") || key.equals("TOTAL")) continue;
|
|
|
filedsList.add(new ExcelExportEntity((String) key, (String)key));
|
|
|
}
|
|
|
+ filedsList.add(new ExcelExportEntity("总计", "TOTAL"));
|
|
|
}
|
|
|
|
|
|
// Step.3 AutoPoi 导出Excel
|