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
f5138291
Commit
f5138291
authored
Aug 11, 2020
by
朱亚洁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug:[none]内部接口调用失败
parent
26af4ffd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
BookGroupService.java
.../java/com/pcloud/book/group/service/BookGroupService.java
+1
-1
BookGroupServiceImpl.java
.../pcloud/book/group/service/impl/BookGroupServiceImpl.java
+3
-1
No files found.
pcloud-facade-book/src/main/java/com/pcloud/book/group/service/BookGroupService.java
View file @
f5138291
...
...
@@ -235,7 +235,7 @@ public interface BookGroupService {
@RequestMapping
(
value
=
"/mapBookGroupServeCount"
,
method
=
RequestMethod
.
POST
)
ResponseEntity
<
ResponseDto
<
Map
<
String
,
BookGroupServeCountDTO
>>>
mapBookGroupServeCount
(
@RequestBody
MapBookGroupServeCountDTO
mapBookGroupServeCountDTO
);
@ApiOperation
(
value
=
"获取资源配置集合"
,
httpMethod
=
"
POS
T"
)
@ApiOperation
(
value
=
"获取资源配置集合"
,
httpMethod
=
"
GE
T"
)
@RequestMapping
(
value
=
"/getBookGroupServeList"
,
method
=
RequestMethod
.
GET
)
ResponseEntity
<
ResponseDto
<
List
<
BookGroupServeDTO
>>>
getBookGroupServeList
(
@RequestParam
(
"bookGroupId"
)
Long
bookGroupId
);
...
...
pcloud-service-book/src/main/java/com/pcloud/book/group/service/impl/BookGroupServiceImpl.java
View file @
f5138291
...
...
@@ -407,11 +407,13 @@ public class BookGroupServiceImpl implements BookGroupService {
public
ResponseEntity
<
ResponseDto
<
List
<
BookGroupServeDTO
>>>
getBookGroupServeList
(
@RequestParam
(
"bookGroupId"
)
Long
bookGroupId
){
List
<
BookGroupServe
>
list
=
bookGroupBiz
.
getBookGroupServeList
(
bookGroupId
);
List
<
BookGroupServeDTO
>
newList
=
new
ArrayList
<
BookGroupServeDTO
>();
if
(!
ListUtils
.
isEmpty
(
list
)){
list
.
forEach
(
item
->{
BookGroupServeDTO
newItme
=
new
BookGroupServeDTO
();
BeanUtils
.
copyProperties
(
newItme
,
item
);
BeanUtils
.
copyProperties
(
item
,
newItme
);
newList
.
add
(
newItme
);
});
}
return
ResponseHandleUtil
.
toResponse
(
newList
);
}
...
...
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