Commit 3f7472d3 by 朱亚洁

bug:[1030193]版权保护

parent 50e29a1c
...@@ -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