|
|
@ -84,7 +84,8 @@ public class IcPartyActServiceImpl extends BaseServiceImpl<IcPartyActDao, IcPart |
|
|
|
private IcPartyActTypeDictService partyActTypeDictService; |
|
|
|
@Autowired |
|
|
|
private IcPartyMemberDao icPartyMemberDao; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private IcPartyActSignInRecordDao icPartyActSignInRecordDao; |
|
|
|
|
|
|
|
/** |
|
|
|
* 活动类型列表 |
|
|
@ -649,8 +650,13 @@ public class IcPartyActServiceImpl extends BaseServiceImpl<IcPartyActDao, IcPart |
|
|
|
} |
|
|
|
icPartyActIds.forEach(icPartyActId->{ |
|
|
|
//删除活动主表和参与活动党组织关系表记录
|
|
|
|
//只有本人发布的活动才可以删除
|
|
|
|
baseDao.deleteIcPartyAct(customerId,userId,icPartyActId); |
|
|
|
icPartyActOrgDao.updateToDel(userId,icPartyActId); |
|
|
|
//删除签到记录
|
|
|
|
LambdaQueryWrapper<IcPartyActSignInRecordEntity> queryWrapper=new LambdaQueryWrapper<>(); |
|
|
|
queryWrapper.eq(IcPartyActSignInRecordEntity::getIcPartyActId,icPartyActId); |
|
|
|
icPartyActSignInRecordDao.delete(queryWrapper); |
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|