Commit a9e96e06 by 吴博

bug: [1007297] erp编辑书刊搜索优化

parent 814bc069
...@@ -3573,8 +3573,7 @@ public class BookAdviserBizImpl implements BookAdviserBiz { ...@@ -3573,8 +3573,7 @@ public class BookAdviserBizImpl implements BookAdviserBiz {
Integer currentPage, Integer numPerPage) { Integer currentPage, Integer numPerPage) {
BookSearchDto bookSearchDto = new BookSearchDto(); BookSearchDto bookSearchDto = new BookSearchDto();
if (!StringUtil.isEmpty(isbn)) { if (!StringUtil.isEmpty(isbn)) {
isbn = isbn.replace("-", "").replace("/", ""); String[] nameList = isbn.trim().split("[\u00A0|\u3000|\u0020]+");
String[] nameList = isbn.trim().split("[\u00A0|\u3000|\u0020]+");
if (nameList.length > 1) { if (nameList.length > 1) {
bookSearchDto.setBookNames(Lists.newArrayList(nameList)); bookSearchDto.setBookNames(Lists.newArrayList(nameList));
} }
......
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