社稷大典

zhangshanxue 2020-10-31 14:06:31 +08:00
parent 763872915f
commit 5fcfaa1f36
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ public class CommitShejiActivityItemRequestHandler extends BaseHandler<ActivityP
//
// }
Set<Integer> openActivityIdsByType = ActivityLogic.getInstance().getOpenActivityIdsByType(user, ActivityTypeEnum.SHEJI_ACTIVITY.getType(), true);
Set<Integer> openActivityIdsByType = ActivityLogic.getInstance().getOpenActivityIdsByType(user, ActivityTypeEnum.SHEJI_ACTIVITY.getType(), false);
if(openActivityIdsByType.size()==0){
throw new ErrorCodeException(ErrorCode.ACTIVITY_NOT_OPEN);
}