|
@@ -717,6 +717,7 @@ public class CompanyInfoController {
|
|
|
|
|
|
for(int rowIndex=1 ; rowIndex<=sheet1.getLastRowNum(); rowIndex++){
|
|
|
try {
|
|
|
+ String sort = (String)poiUtils.getCellValue(sheetIndex,rowIndex,0).toString().replace(" ","");
|
|
|
String name = (String)poiUtils.getCellValue(sheetIndex,rowIndex,1).toString().replace(" ","");
|
|
|
String parentName = (String)poiUtils.getCellValue(sheetIndex,rowIndex,2).toString().replace(" ","");
|
|
|
String type = (String)poiUtils.getCellValue(sheetIndex,rowIndex,3).toString().replace(" ","");
|
|
@@ -740,6 +741,7 @@ public class CompanyInfoController {
|
|
|
} else {
|
|
|
companyInfo = new CompanyInfo();
|
|
|
companyInfo.setId(UUID.randomUUID().toString());
|
|
|
+ companyInfo.setSortNo(Integer.valueOf(sort));
|
|
|
companyInfo.setName(name);
|
|
|
if(StringUtils.isNotEmpty(parentName)) {
|
|
|
CompanyInfo li = companyInfoService.findByName(parentName);
|