|
@@ -56,7 +56,7 @@ public class HelpRecordServiceImpl extends ServiceImpl<HelpRecordMapper, HelpRec
|
56
|
56
|
|
57
|
57
|
HelpActivity helpActivity = helpActivityMapper.selectById(helpRecord.getHelpActivityId());
|
58
|
58
|
//是否助力成功
|
59
|
|
- if (helpActivity.getEnlistNum() >= helpActivity.getPersionNum()){
|
|
59
|
+ if (helpActivity.getEnlistNum() >= helpActivity.getPersonNum()){
|
60
|
60
|
return ResponseBean.error("已经助力成功", ResponseBean.ERROR_UNAVAILABLE);
|
61
|
61
|
}
|
62
|
62
|
if (helpActivity.getEndDate().isBefore(LocalDateTime.now())){
|
|
@@ -90,7 +90,7 @@ public class HelpRecordServiceImpl extends ServiceImpl<HelpRecordMapper, HelpRec
|
90
|
90
|
helpRecord.setCreateDate(LocalDateTime.now());
|
91
|
91
|
helpRecord.setPersionId(person.getPersonId());
|
92
|
92
|
helpRecordMapper.insert(helpRecord);
|
93
|
|
- if (helpActivity.getEnlistNum().equals(helpActivity.getPersionNum())){
|
|
93
|
+ if (helpActivity.getEnlistNum().equals(helpActivity.getPersonNum())){
|
94
|
94
|
//发送微信模板消息所有人都发送--todo
|
95
|
95
|
|
96
|
96
|
//生成核销码
|