|
|
@ -96,7 +96,9 @@ public class IcSuperiorResourceExcelImportListener implements ReadListener<IcSup |
|
|
|
icSuperiorResourceEntity.setSourceType("import"); |
|
|
|
icSuperiorResourceEntity.setCategory(data.getCategoryName()); |
|
|
|
icSuperiorResourceEntity.setAreaCovered(data.getAreaCoveredName()); |
|
|
|
if(StringUtils.isNotBlank(data.getCapacityName())){ |
|
|
|
icSuperiorResourceEntity.setCapacity(Integer.parseInt(data.getCapacityName())); |
|
|
|
} |
|
|
|
datas.add(icSuperiorResourceEntity); |
|
|
|
|
|
|
|
if (datas.size() == MAX_THRESHOLD) { |
|
|
|