feat(电气bom): 导入数据时,如果类型为空,则设置为L

This commit is contained in:
曹鹏飞 2024-05-09 08:11:05 +08:00
parent 70dd9d0211
commit a7c1b74272
1 changed files with 3 additions and 0 deletions

View File

@ -379,6 +379,9 @@ public class DQBomImportService {
dQbomExcelVO.setProjectType(BomConstant.PROJECT_TYPE_TEMPORARY);
}
dQbomExcelVO.setCurrentVersion("");
if (StrUtil.isBlank(dQbomExcelVO.getProjectType())) {
dQbomExcelVO.setProjectType("L");
}
excelContextTL.get().add(dQbomExcelVO);
}