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