|
|
|
|
@ -58,7 +58,11 @@ public class ProductQualifiedService { |
|
|
|
|
String cylinderVolume = extractManufacturer(texts, fieldMap.get("cylinderVolume"), cylinderVolumeOffset); |
|
|
|
|
if (ObjectUtil.isNotEmpty(cylinderVolume)) { |
|
|
|
|
//气瓶容积
|
|
|
|
|
equipmentRegistryRespVO.setCylinderVolume(cylinderVolume); |
|
|
|
|
if (cylinderVolume.equals("L")) { |
|
|
|
|
equipmentRegistryRespVO.setCylinderVolume("70.4"); |
|
|
|
|
} else { |
|
|
|
|
equipmentRegistryRespVO.setCylinderVolume(cylinderVolume); |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
equipmentRegistryRespVO.setCylinderVolume(extractManufacturer(texts, "实测水容机: ", 1)); |
|
|
|
|
} |
|
|
|
|
@ -82,6 +86,7 @@ public class ProductQualifiedService { |
|
|
|
|
if (index != -1 && index + offset < recTexts.size()) { |
|
|
|
|
return recTexts.get(index + offset); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return null; // 未找到或越界时返回null
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|