src/main/java/com/ruoyi/common/enums/RawMaterialCheckType.java
@@ -27,10 +27,10 @@ */ public static RawMaterialCheckType fromValue(Integer value) { for (RawMaterialCheckType type : values()) { if (type.getValue().equals(value)) { if (type.getCode().equals(value)) { return type; } } throw new IllegalArgumentException("未知的 RawMaterialCheckType 值: " + value); return null; } }