Commit b79124b9 by 吴博

Merge branch 'fixbug/fixNews' into 'master'

bug:[none] fixThird

See merge request rays/pcloud-book!916
parents b4a3cbe7 2977220a
......@@ -1212,7 +1212,7 @@ public class AppletNewsBizImpl implements AppletNewsBiz {
}
for (AppletNewsDTO newsDTO : appletNewsDTOList) {
Long newsId = newsDTO.getId();
if (null != newsDTO.getShowState() && newsDTO.getShowState()) {
if (Objects.equals(YesOrNoNumEnum.YES.getValue(),newsDTO.getShowLink())) {
List<AppletThirdResources> thirdResourcesList = thirdResourcesDao.getThirdResourcesByNewsId(newsId);
if (ListUtils.isEmpty(thirdResourcesList)) {
continue;
......
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