Commit bc2950dd by 李传峰

Merge branch 'feature/1009354' into 'master'

feat: [1009354] 抖音万有文化

See merge request rays/pcloud-book!1719
parents e48f52ab 11f42957
...@@ -400,6 +400,8 @@ public class BookBizImpl implements BookBiz { ...@@ -400,6 +400,8 @@ public class BookBizImpl implements BookBiz {
@Autowired @Autowired
private BookConsr bookConsr; private BookConsr bookConsr;
private static final List<Integer> zouMuBaiTypeList = CollUtil.toList(3,4);
/** /**
* 创建书籍,同时建立与编辑的推广关系 * 创建书籍,同时建立与编辑的推广关系
*/ */
...@@ -4807,7 +4809,7 @@ public class BookBizImpl implements BookBiz { ...@@ -4807,7 +4809,7 @@ public class BookBizImpl implements BookBiz {
if(type==1) { if(type==1) {
dealXy(list); dealXy(list);
} }
if(type==3){ if(zouMuBaiTypeList.contains(type)){
dealZmb(list); dealZmb(list);
} }
} }
...@@ -4918,7 +4920,7 @@ public class BookBizImpl implements BookBiz { ...@@ -4918,7 +4920,7 @@ public class BookBizImpl implements BookBiz {
if(null==mofangBook){ if(null==mofangBook){
return new ArrayList<>(); return new ArrayList<>();
} }
if(null!=mofangBook.getType() && mofangBook.getType()==3){ if(null!=mofangBook.getType() && zouMuBaiTypeList.contains(mofangBook.getType())){
return bookDao.getZmbBookIds(mofangId); return bookDao.getZmbBookIds(mofangId);
} }
if(null!=mofangBook.getBookId()){ if(null!=mofangBook.getBookId()){
......
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