Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐少华
midjourney-proxy
Commits
b389f1bb
Commit
b389f1bb
authored
May 24, 2022
by
吴博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hotfix: [1007249] erp查询rays书刊
parent
1273a6b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
BookAdviserBizImpl.java
...ava/com/pcloud/book/book/biz/impl/BookAdviserBizImpl.java
+11
-6
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/book/biz/impl/BookAdviserBizImpl.java
View file @
b389f1bb
...
...
@@ -3573,18 +3573,23 @@ public class BookAdviserBizImpl implements BookAdviserBiz {
Integer
currentPage
,
Integer
numPerPage
)
{
BookSearchDto
bookSearchDto
=
new
BookSearchDto
();
if
(!
StringUtil
.
isEmpty
(
isbn
))
{
String
[]
nameList
=
isbn
.
trim
().
split
(
"[\u00A0|\u3000|\u0020]"
);
isbn
=
isbn
.
replace
(
"-"
,
""
).
replace
(
"/"
,
""
);
String
[]
nameList
=
isbn
.
trim
().
split
(
"[\u00A0|\u3000|\u0020]+"
);
if
(
nameList
.
length
>
1
)
{
bookSearchDto
.
setBookNames
(
Lists
.
newArrayList
(
nameList
));
}
else
{
bookSearchDto
.
setKeyword
(
isbn
);
}
}
bookSearchDto
.
setKeyword
(
isbn
);
if
(
StrUtil
.
isNotBlank
(
uniqueNumber
)
&&
uniqueNumber
.
contains
(
"BK"
))
{
String
bk
=
uniqueNumber
.
replace
(
"BK"
,
""
);
if
(
NumberUtil
.
isNumber
(
bk
))
{
bookSearchDto
.
setBookIdList
(
Lists
.
newArrayList
(
Long
.
valueOf
(
bk
)));
if
(
StrUtil
.
isNotBlank
(
uniqueNumber
))
{
if
(
uniqueNumber
.
contains
(
"BK"
)
||
uniqueNumber
.
contains
(
"bk"
))
{
uniqueNumber
=
uniqueNumber
.
replace
(
"BK"
,
""
).
replace
(
"bk"
,
""
);
}
if
(
NumberUtil
.
isNumber
(
uniqueNumber
))
{
bookSearchDto
.
setBookIdList
(
Lists
.
newArrayList
(
Long
.
valueOf
(
uniqueNumber
)));
}
}
bookSearchDto
.
setIsAdviserBook
(
Boolean
.
TRUE
);
List
<
Long
>
adviserIds4ES
=
new
ArrayList
<>();
if
(!
StringUtil
.
isEmpty
(
adviserName
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment