|
@ -223,7 +223,7 @@ public class ChangeWelfareServiceImpl extends BaseServiceImpl<ChangeWelfareDao, |
|
|
@Async |
|
|
@Async |
|
|
public void importFile(TokenDto tokenDto, InputStream inputStream, String taskId) { |
|
|
public void importFile(TokenDto tokenDto, InputStream inputStream, String taskId) { |
|
|
List<ChangeWelfareErrorExcel> errorInfo = new ArrayList<>(); |
|
|
List<ChangeWelfareErrorExcel> errorInfo = new ArrayList<>(); |
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); |
|
|
|
|
|
|
|
|
try { |
|
|
try { |
|
|
List<ChangeWelfareImportExcel> list = ExcelPoiUtils.importExcel(inputStream, 0,1,ChangeWelfareImportExcel.class); |
|
|
List<ChangeWelfareImportExcel> list = ExcelPoiUtils.importExcel(inputStream, 0,1,ChangeWelfareImportExcel.class); |
|
|