Commit a2c554a6 authored by 李灿灿's avatar 李灿灿

fix: 20221110 投保与退保-已投保-导出已投保名册 由前端导出改为由后端导出2

parent d785b8b5
...@@ -3429,7 +3429,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap ...@@ -3429,7 +3429,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
} }
} }
if (Common.isNotNull(insuredList)){ if (Common.isNotNull(insuredList)){
writeSheet = EasyExcel.writerSheet("sheet").build(); writeSheet = EasyExcel.writerSheet("sheet"+index).build();
excelWriter.write(insuredList,writeSheet); excelWriter.write(insuredList,writeSheet);
index++; index++;
} }
...@@ -3439,7 +3439,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap ...@@ -3439,7 +3439,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
} }
} }
}else { }else {
WriteSheet writeSheet = EasyExcel.writerSheet("sheet").build(); WriteSheet writeSheet = EasyExcel.writerSheet("sheet"+index).build();
excelWriter.write(insuredList,writeSheet); excelWriter.write(insuredList,writeSheet);
} }
if (Common.isNotNull(insuredList)){ if (Common.isNotNull(insuredList)){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment