|
@@ -108,6 +108,7 @@ namespace GxPress.Service.Implement.Collection
|
|
|
TypeValue = request.CollectionType,// 10 会议纪要 0 文章 1 话题 2 通知 3 笔记 4站内信 12 收藏文件夹 13 笔记文件夹
|
|
|
SourceUserId = request.SourceUserId
|
|
|
};
|
|
|
+
|
|
|
if (findCollection != null)
|
|
|
{
|
|
|
await _collectionRepository.DeleteAsync(findCollection.Id);
|
|
@@ -117,6 +118,11 @@ namespace GxPress.Service.Implement.Collection
|
|
|
await _analyzeService.DeleteAsync(analyze.Id);
|
|
|
return true;
|
|
|
}
|
|
|
+ //
|
|
|
+ if (request.CollectionType == AllTypeConst.TopicNoteAll.GetHashCode() || request.CollectionType == AllTypeConst.TopicNoteFolder.GetHashCode())
|
|
|
+ {
|
|
|
+ await _analyzeService.SetAnalyzeAsync(analyzeRequest);
|
|
|
+ }
|
|
|
//收藏媒体
|
|
|
if (request.CollectionType == AllTypeConst.Book.GetHashCode() || request.CollectionType == AllTypeConst.Curriculum.GetHashCode() || request.CollectionType == AllTypeConst.Audio.GetHashCode() || request.CollectionType == AllTypeConst.Video.GetHashCode())
|
|
|
{
|