|
|
@@ -269,7 +269,8 @@ public class CoreAnnouncementNotificationServiceImpl extends ServiceImpl<CoreAnn
|
|
|
List<Long> orgIds = request.getTagOrgIds();
|
|
|
List<Long> roleIds = request.getTagRoleIds();
|
|
|
//删除公告通知与角色和机构的关系
|
|
|
- coreAnnouncementNotificationMapper.deleteRoleAndOrg(request.getId());
|
|
|
+ coreAnnouncementNotificationMapper.deleteRole(request.getId());
|
|
|
+ coreAnnouncementNotificationMapper.deleteOrg(request.getId());
|
|
|
CoreAnnouncementNotification notification = this.buildSaveObject(request);
|
|
|
if(CollectionUtil.isNotEmpty(orgIds)){
|
|
|
List<CoreAnnouncementNotificationToOrg> list = new ArrayList<>();
|
|
|
@@ -306,7 +307,8 @@ public class CoreAnnouncementNotificationServiceImpl extends ServiceImpl<CoreAnn
|
|
|
//删除公告通知与角色和机构的关系
|
|
|
//刪除已读记录
|
|
|
for(Long id:ids){
|
|
|
- coreAnnouncementNotificationMapper.deleteRoleAndOrg(id);
|
|
|
+ coreAnnouncementNotificationMapper.deleteRole(id);
|
|
|
+ coreAnnouncementNotificationMapper.deleteOrg(id);
|
|
|
coreAnnouncementNotificationMapper.deleteNotificationToUsers(id);
|
|
|
}
|
|
|
|