Commit 45528dce by 田超

Merge branch 'fixbug/1030193' into 'master'

bug:[1030193]版权保护

See merge request rays/pcloud-book!1361
parents 50e29a1c 3f7472d3
...@@ -565,7 +565,7 @@ public class BookAuthInfoBizImpl implements BookAuthInfoBiz { ...@@ -565,7 +565,7 @@ public class BookAuthInfoBizImpl implements BookAuthInfoBiz {
if(bookId == null && adviserId == null && sceneId == null){ if(bookId == null && adviserId == null && sceneId == null){
throw new BookBizException(BookBizException.PARAM_IS_NULL, "图书不存在"); throw new BookBizException(BookBizException.PARAM_IS_NULL, "图书不存在");
} }
if(bookId == null || adviserId == null ||bookId == 0L || adviserId == 0L){ if(null != sceneId){
//通过二维码获取图书信息 //通过二维码获取图书信息
QrcodeSceneDto qrcodeSceneDto = qrcodeSceneConsr.getById(sceneId); QrcodeSceneDto qrcodeSceneDto = qrcodeSceneConsr.getById(sceneId);
if(qrcodeSceneDto == null){ if(qrcodeSceneDto == null){
......
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