feat():测试

master
yuan 2024-08-25 10:15:20 +08:00
parent dab70ab8fa
commit b8e816232f
1 changed files with 2 additions and 2 deletions

View File

@ -29,9 +29,9 @@ public enum SystemYesNo {
}
public static boolean isCode(String code){
System.out.println("传递code:["+code+"]");
return Arrays.stream(values())
.map(SystemYesNo::getCode)
.map(SystemYesNo::getCode)
.anyMatch(s -> s.equals(code));
}
}