|
|
@@ -241,14 +241,8 @@ public class VppDrEventIngestServiceImpl implements VppDrEventIngestService {
|
|
|
if (event == null || event.getId() == null) {
|
|
|
return;
|
|
|
}
|
|
|
- List<VppDrParticipation> participations = participationMapper.selectList(
|
|
|
- new LambdaQueryWrapper<VppDrParticipation>()
|
|
|
- .eq(VppDrParticipation::getEventId, event.getId())
|
|
|
- .eq(VppDrParticipation::getDeleteFlag, VppAuditHelper.NOT_DELETED));
|
|
|
- for (VppDrParticipation participation : participations) {
|
|
|
- VppAuditHelper.fillSoftDelete(participation);
|
|
|
- participationMapper.updateById(participation);
|
|
|
- }
|
|
|
+ participationMapper.delete(new LambdaQueryWrapper<VppDrParticipation>()
|
|
|
+ .eq(VppDrParticipation::getEventId, event.getId()));
|
|
|
}
|
|
|
|
|
|
private void applyBaseFields(VppDrEvent event, Map<String, Object> eventMap, Map<String, Object> descriptor) {
|