Commit 4c31f2e3 by 吴博

bug: [1030864] 【纸书创建】纸书创建,ISBN码格式不符合标准时,

parent 34e47c65
...@@ -1632,6 +1632,8 @@ public class BookBizImpl implements BookBiz { ...@@ -1632,6 +1632,8 @@ public class BookBizImpl implements BookBiz {
if (StringUtil.isEmpty(isbn)) { if (StringUtil.isEmpty(isbn)) {
throw new AppBizException(AppBizException.PARAM_IS_NULL, "请选择书刊"); throw new AppBizException(AppBizException.PARAM_IS_NULL, "请选择书刊");
} }
// 校验书号
bookSet.checkISBN(typeCode, isbn);
BookDto bookDto = bookDao.getByIsbn(isbn); BookDto bookDto = bookDao.getByIsbn(isbn);
/* if (BookTypeEnum.BOOK.value.equals(typeCode) && bookDto == null) { /* if (BookTypeEnum.BOOK.value.equals(typeCode) && bookDto == 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