medal_bug
This commit is contained in:
@@ -51,7 +51,7 @@ public class MedalSeriesAdminService {
|
||||
if (medal == null) {
|
||||
throw new AdminServiceException(String.format("勋章ID:%s不存在", medalSeriesRef.getMedalId()));
|
||||
}
|
||||
if (medal.getEnable() == Boolean.TRUE) {
|
||||
if (!medal.getEnable().equals(Boolean.TRUE)) {
|
||||
throw new AdminServiceException(String.format("勋章ID:%s状态为无效", medalSeriesRef.getMedalId()));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user