|
|
@ -307,13 +307,15 @@ public class ActInfoServiceImpl extends BaseServiceImpl<ActInfoDao, ActInfoEntit |
|
|
} |
|
|
} |
|
|
} else if (currentTime.before(actInfoEntity.getSignupEndTime())) { |
|
|
} else if (currentTime.before(actInfoEntity.getSignupEndTime())) { |
|
|
/*报名截至时间前: |
|
|
/*报名截至时间前: |
|
|
1、当前用户未报名底部显示按钮 我要报名 |
|
|
1、当前用户未报名底部显示按钮 我要报名(不限名额或者未报满的) |
|
|
2、当前用户未报名且活动名额已满底部显示按钮 已报满 |
|
|
2、当前用户未报名且活动名额已满底部显示按钮 已报满(限制名额且已经报满的) |
|
|
3、当前用户已报名(未审核、审核通过的)底部显示按钮 取消报名 |
|
|
3、当前用户已报名(未审核、审核通过的)底部显示按钮 取消报名 |
|
|
4、当前用户(报名审核未通过或者已经取消报名的)可再次报名-我要报名*/ |
|
|
4、当前用户(报名审核未通过或者已经取消报名的)可再次报名-我要报名*/ |
|
|
if (null == actUserRelationEntity && (actInfoEntity.getActQuota() > actInfoEntity.getSignupNum())) { |
|
|
if (null == actUserRelationEntity && (NumConstant.ZERO==actInfoEntity.getActQuotaCategory() |
|
|
|
|
|
||actInfoEntity.getActQuota() > actInfoEntity.getSignupNum())) { |
|
|
currentUserStatus = ActUserStatusConstant.SIGN_UP; |
|
|
currentUserStatus = ActUserStatusConstant.SIGN_UP; |
|
|
} else if (null == actUserRelationEntity && (actInfoEntity.getActQuota().equals(actInfoEntity.getSignupNum()))) { |
|
|
} else if (null == actUserRelationEntity && (NumConstant.ONE==actInfoEntity.getActQuotaCategory() |
|
|
|
|
|
&&actInfoEntity.getActQuota().equals(actInfoEntity.getSignupNum()))) { |
|
|
currentUserStatus = ActUserStatusConstant.FULL_SIGN_UP; |
|
|
currentUserStatus = ActUserStatusConstant.FULL_SIGN_UP; |
|
|
} else if (null != actUserRelationEntity |
|
|
} else if (null != actUserRelationEntity |
|
|
&& (ActUserRelationStatusConstant.SIGN_UP.equals(actUserRelationEntity.getStatus()) |
|
|
&& (ActUserRelationStatusConstant.SIGN_UP.equals(actUserRelationEntity.getStatus()) |
|
|
|