Commit d3c2547e by 朱亚洁

bug:[1026459]过滤带小睿链接的精品文章作品

parent 688d5b89
...@@ -5287,6 +5287,9 @@ public class BookGroupBizImpl implements BookGroupBiz { ...@@ -5287,6 +5287,9 @@ public class BookGroupBizImpl implements BookGroupBiz {
} else { } else {
bookServeDTO.setHasThirdLink(false); bookServeDTO.setHasThirdLink(false);
} }
if (checkRayUrl(productDto.getSkipUrl()) && ProductTypeConstant.ARTICLE.equals(bookServeDTO.getFromType())){
removeList.add(bookServeDTO);
}
} else { } else {
removeList.add(bookServeDTO); removeList.add(bookServeDTO);
} }
......
...@@ -1556,6 +1556,9 @@ public class RightsSettingBizImpl implements RightsSettingBiz { ...@@ -1556,6 +1556,9 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
} else { } else {
item.setHasThirdLink(false); item.setHasThirdLink(false);
} }
if (bookGroupBiz.checkRayUrl(productDto.getSkipUrl()) && ProductTypeConstant.ARTICLE.equals(item.getServeTypeCode())){
list_remove.add(item);
}
} }
} }
if (AppAndProductTypeEnum.APP.value.equals(item.getServeType())) { if (AppAndProductTypeEnum.APP.value.equals(item.getServeType())) {
......
...@@ -77,6 +77,7 @@ ...@@ -77,6 +77,7 @@
id, adviser_id, send_state, send_type, create_time, update_time, book_id, channel_id id, adviser_id, send_state, send_type, create_time, update_time, book_id, channel_id
from book.answer_subscribe_adviser from book.answer_subscribe_adviser
WHERE send_state = 0 WHERE send_state = 0
AND adviser_id>0
GROUP BY GROUP BY
book_id, channel_id, adviser_id book_id, channel_id, adviser_id
</select> </select>
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
FROM FROM
answer_subscribe answer_subscribe
WHERE WHERE
1=1 adviser_id>0
GROUP BY GROUP BY
book_id, channel_id, adviser_id book_id, channel_id, adviser_id
HAVING HAVING
......
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