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
cd9bf215
Commit
cd9bf215
authored
May 29, 2019
by
gaopeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
平台端编辑添加书刊接口增加出版社名称返回字段
parent
3fe2fa6e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
BookBizImpl.java
.../main/java/com/pcloud/book/book/biz/impl/BookBizImpl.java
+3
-0
BookSet.java
...-book/src/main/java/com/pcloud/book/book/set/BookSet.java
+16
-0
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/book/biz/impl/BookBizImpl.java
View file @
cd9bf215
...
...
@@ -1265,6 +1265,9 @@ public class BookBizImpl implements BookBiz {
bookSet
.
setTemplateName
(
pageBean
.
getRecordList
());
// 设置运营平台名称
bookSet
.
setChannelInfoList
(
pageBean
.
getRecordList
());
// 设置出版社名称
bookSet
.
setAgentId4BookDto
(
pageBean
.
getRecordList
());
bookSet
.
setAgentName4BookDto
(
pageBean
.
getRecordList
());
// 设置图书收益
bookSet
.
setBookIncome
(
pageBean
.
getRecordList
());
}
else
{
...
...
pcloud-service-book/src/main/java/com/pcloud/book/book/set/BookSet.java
View file @
cd9bf215
...
...
@@ -288,6 +288,22 @@ public class BookSet {
}
/**
* 批量填充出版ID
*/
public
void
setAgentId4BookDto
(
List
<
Object
>
objects
)
{
LOGGER
.
info
(
"【书刊基础】批量填充出版ID,<START>"
);
for
(
Object
object
:
objects
)
{
BookDto
bookDto
=
(
BookDto
)
object
;
Long
adviserId
=
bookDto
.
getAdviserId
();
if
(
null
!=
adviserId
)
{
Long
agentId
=
adviserConsr
.
getAgentIdByAdviser
(
adviserId
);
bookDto
.
setAgentId
(
agentId
);
}
}
LOGGER
.
info
(
"【书刊基础】批量填充出版ID,<END>"
);
}
/**
* 批量填充出版名称
*/
public
void
setAgentName4BookDto
(
List
<
Object
>
objects
)
{
...
...
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