|
|
|
|
@ -33,15 +33,15 @@ public class ProductQualifiedService { |
|
|
|
|
equipmentRegistryRespVO.setEquipmentType("特种气瓶"); |
|
|
|
|
equipmentRegistryRespVO.setProductName("车用气瓶"); |
|
|
|
|
equipmentRegistryRespVO.setCylinderQuantity(1); |
|
|
|
|
int fillingMediumOffset = 4; |
|
|
|
|
if (!postfix.equals("pdf")) { |
|
|
|
|
fillingMediumOffset = 3; |
|
|
|
|
} |
|
|
|
|
String fillingMedium = extractManufacturer(texts, fieldMap.get("fillingMedium"), fillingMediumOffset); |
|
|
|
|
if (ObjectUtil.isNotEmpty(fillingMedium)) { |
|
|
|
|
//充装介质
|
|
|
|
|
equipmentRegistryRespVO.setFillingMedium(fillingMedium); |
|
|
|
|
|
|
|
|
|
//充装介质
|
|
|
|
|
boolean hasFillingMedium = texts.stream().anyMatch(t -> t.equals("液化天然气") || t.contains("LNG")); |
|
|
|
|
if (hasFillingMedium) { |
|
|
|
|
equipmentRegistryRespVO.setFillingMedium("LNG"); |
|
|
|
|
} else { |
|
|
|
|
equipmentRegistryRespVO.setFillingMedium("CNG"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
int nominalWorkingPressureOffset = 1; |
|
|
|
|
if (!postfix.equals("pdf")) { |
|
|
|
|
nominalWorkingPressureOffset = 2; |
|
|
|
|
|