Commit f438efef authored by gary's avatar gary

1、fixbug

parent b9563dfe
...@@ -1263,8 +1263,8 @@ public class DataImportService extends BaseService { ...@@ -1263,8 +1263,8 @@ public class DataImportService extends BaseService {
orgId = organizations.get(0).getId(); orgId = organizations.get(0).getId();
companyCode = organizations.get(0).getCode(); companyCode = organizations.get(0).getCode();
} }
String periodStr = sheet.getRow(1).getCell(4).getStringCellValue(); String periodStr = getCellStringValue(sheet.getRow(1).getCell(4));
String fileType = sheet.getRow(0).getCell(0).getStringCellValue(); String fileType = getCellStringValue(sheet.getRow(0).getCell(0));
Integer period = DateUtils.strToPeriod2(periodStr); Integer period = DateUtils.strToPeriod2(periodStr);
Integer tmsPeriod = DateUtils.strToPeriod(periodDate); Integer tmsPeriod = DateUtils.strToPeriod(periodDate);
......
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