活动非空判断

back_recharge
duhui 2021-12-07 16:08:00 +08:00
parent 946ae79b7c
commit 0914af5631
1 changed files with 3 additions and 0 deletions

View File

@ -746,6 +746,9 @@ public class ActivityLogic implements IEventHandler{
}
Integer activityId = item.getKey();
SGlobalActivity sGlobalActivity = SGlobalActivity.getsGlobalActivityMap().get(activityId);
if (sGlobalActivity == null){
continue;
}
int targetActivityType = sGlobalActivity.getType();
if (!activityType.contains(targetActivityType)) {
continue;