opt:优化空木箱出库,装箱区,子卷木箱分配相关逻辑。
This commit is contained in:
@@ -7,14 +7,12 @@ public enum LevelEnum {
|
||||
INFO,
|
||||
WARN,
|
||||
ERROR;
|
||||
|
||||
public static LevelEnum checkLevel(String level) {
|
||||
if (!StringUtils.isEmpty(level)) {
|
||||
for (LevelEnum value : LevelEnum.values()) {
|
||||
if (value.name().equals(level)) {
|
||||
return value;
|
||||
}
|
||||
;
|
||||
}
|
||||
}
|
||||
return LevelEnum.DEBUG;
|
||||
|
||||
Reference in New Issue
Block a user