|
@@ -85,13 +85,19 @@ public class HelpRecordServiceImpl extends ServiceImpl<HelpRecordMapper, HelpRec
|
85
|
85
|
|
86
|
86
|
helpActivity.setEnlistNum(helpActivity.getEnlistNum()+1);
|
87
|
87
|
helpActivityMapper.updateById(helpActivity);
|
88
|
|
- helpInitiateRecord.setEnlistNum(helpInitiateRecord.getEnlistNum()+1);
|
89
|
|
- helpInitiateRecordMapper.updateById(helpInitiateRecord);
|
90
|
88
|
|
91
|
89
|
helpRecord.setOrgId(orgId);
|
92
|
90
|
helpRecord.setCreateDate(LocalDateTime.now());
|
93
|
91
|
helpRecord.setPersionId(person.getPersonId());
|
94
|
92
|
helpRecordMapper.insert(helpRecord);
|
|
93
|
+ if (helpActivity.getEnlistNum()+1 == helpActivity.getPersionNum()){
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+ helpInitiateRecord.setVerification(helpInitiateRecord.getHelpActivityId()+System.currentTimeMillis());
|
|
98
|
+ }
|
|
99
|
+ helpInitiateRecord.setEnlistNum(helpInitiateRecord.getEnlistNum()+1);
|
|
100
|
+ helpInitiateRecordMapper.updateById(helpInitiateRecord);
|
95
|
101
|
return ResponseBean.success(helpRecord);
|
96
|
102
|
}
|
97
|
103
|
}
|