|
@@ -70,7 +70,7 @@ public class HelpRecordServiceImpl extends ServiceImpl<HelpRecordMapper, HelpRec
|
70
|
70
|
|
71
|
71
|
HelpActivity helpActivity = helpActivityMapper.selectById(helpRecord.getHelpActivityId());
|
72
|
72
|
//是否助力成功
|
73
|
|
- if (null != helpActivity.getEnlistNum() && helpActivity.getEnlistNum() >= helpActivity.getPersonNum()){
|
|
73
|
+ if (null != helpInitiateRecord.getEnlistNum() && helpInitiateRecord.getEnlistNum() >= helpActivity.getPersonNum()){
|
74
|
74
|
return ResponseBean.error("助力失败", ResponseBean.ERROR_UNAVAILABLE);
|
75
|
75
|
}
|
76
|
76
|
if (helpActivity.getEndDate().isBefore(LocalDateTime.now())){
|