fix: 修复网络数据部分未识别的问题

This commit is contained in:
han0
2025-03-28 15:07:44 +08:00
parent aadca1a6aa
commit 48efc1bb81

View File

@@ -87,6 +87,7 @@ public class DataNetwork extends Model<DataNetwork> {
var policy = Row.MissingCellPolicy.CREATE_NULL_AS_BLANK;
row.getCell(0, policy).setCellType(CellType.STRING);
row.getCell(5, policy).setCellType(CellType.NUMERIC);
row.getCell(7, policy).setCellType(CellType.STRING);
this.setMaterialId(row.getCell(0, policy).getStringCellValue());
this.setName(row.getCell(1, policy).getStringCellValue().replace(" ", ""));
this.setSpec(row.getCell(2, policy).getStringCellValue().replace(" ", ""));