|
|
@ -126,7 +126,7 @@ public class ImportService implements IImportService { |
|
|
|
*/ |
|
|
|
private void readPluginConfig(XSSFWorkbook wb, Map<String, Object> taskMap) { |
|
|
|
//获取插件配置表Sheet
|
|
|
|
XSSFSheet wbsSheet = wb.getSheet(Constant.WbsExcel.WBS_SHEET); |
|
|
|
XSSFSheet wbsSheet = wb.getSheet(Constant.WbsExcel.WBS_PLUGIN_CONFIG); |
|
|
|
if (ObjectUtil.isNotNull(wbsSheet)) { |
|
|
|
for (int i = 0; i <= wbsSheet.getLastRowNum(); i++) { |
|
|
|
//获取行
|
|
|
@ -142,11 +142,11 @@ public class ImportService implements IImportService { |
|
|
|
continue; |
|
|
|
} |
|
|
|
//插件1
|
|
|
|
String pluginParam1 = StringUtil.replaceStrSpace(ExcelUtil.getCellValue(row.getCell(0))); |
|
|
|
String pluginParam1 = StringUtil.replaceStrSpace(ExcelUtil.getCellValue(row.getCell(2))); |
|
|
|
//插件2
|
|
|
|
String pluginParam2 = StringUtil.replaceStrSpace(ExcelUtil.getCellValue(row.getCell(0))); |
|
|
|
String pluginParam2 = StringUtil.replaceStrSpace(ExcelUtil.getCellValue(row.getCell(3))); |
|
|
|
//插件3
|
|
|
|
String pluginParam3 = StringUtil.replaceStrSpace(ExcelUtil.getCellValue(row.getCell(0))); |
|
|
|
String pluginParam3 = StringUtil.replaceStrSpace(ExcelUtil.getCellValue(row.getCell(4))); |
|
|
|
Object o = taskMap.get(sequence + "_" + taskName); |
|
|
|
if(ObjectUtil.isNull(o)){ |
|
|
|
continue; |
|
|
|