Commit 4959831b by 阮思源

fix

parent ed01b5ed
...@@ -2257,8 +2257,6 @@ public class BookGroupBizImpl implements BookGroupBiz { ...@@ -2257,8 +2257,6 @@ public class BookGroupBizImpl implements BookGroupBiz {
if (ListUtils.isEmpty(keywordDTOS)) { if (ListUtils.isEmpty(keywordDTOS)) {
return; return;
} }
//按照社群码id集合把关键词逻辑删除
bookKeywordDao.deleteByBookGroupIds(bookGroupIds);
Map<Long, List<KeywordDTO>> map = keywordDTOS.stream().filter(s -> s.getBookGroupId() != null).collect(Collectors.groupingBy(KeywordDTO::getBookGroupId)); Map<Long, List<KeywordDTO>> map = keywordDTOS.stream().filter(s -> s.getBookGroupId() != null).collect(Collectors.groupingBy(KeywordDTO::getBookGroupId));
for (BookGroup bookGroup : bookGroups) { for (BookGroup bookGroup : bookGroups) {
Long bookGroupId = bookGroup.getId(); Long bookGroupId = bookGroup.getId();
...@@ -2292,6 +2290,8 @@ public class BookGroupBizImpl implements BookGroupBiz { ...@@ -2292,6 +2290,8 @@ public class BookGroupBizImpl implements BookGroupBiz {
bookGroupServeDao.batchInsert(bookGroupServesNew); bookGroupServeDao.batchInsert(bookGroupServesNew);
} }
} }
//按照社群码id集合把关键词逻辑删除
bookKeywordDao.deleteByBookGroupIds(bookGroupIds);
} }
@ParamLog("生成暗号") @ParamLog("生成暗号")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment