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
061d0a18
Commit
061d0a18
authored
Nov 27, 2020
by
tc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feature: [1003786]图书监控
parent
c6c83a52
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
5 deletions
+22
-5
pom.xml
pcloud-facade-book/pom.xml
+2
-2
BookDto.java
...-book/src/main/java/com/pcloud/book/book/dto/BookDto.java
+13
-0
pom.xml
pcloud-service-book/pom.xml
+2
-2
BookBizImpl.java
.../main/java/com/pcloud/book/book/biz/impl/BookBizImpl.java
+4
-0
pom.xml
pom.xml
+1
-1
No files found.
pcloud-facade-book/pom.xml
View file @
061d0a18
...
@@ -3,13 +3,13 @@
...
@@ -3,13 +3,13 @@
<parent>
<parent>
<groupId>
com.pcloud.common
</groupId>
<groupId>
com.pcloud.common
</groupId>
<artifactId>
pcloud-book-parent
</artifactId>
<artifactId>
pcloud-book-parent
</artifactId>
<version>
2.1.0-
RELEASE
</version>
<version>
2.1.0-
SNAPSHOT
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
com.pcloud.facade
</groupId>
<groupId>
com.pcloud.facade
</groupId>
<artifactId>
pcloud-facade-book
</artifactId>
<artifactId>
pcloud-facade-book
</artifactId>
<version>
2.1.0-
RELEASE
</version>
<version>
2.1.0-
SNAPSHOT
</version>
<packaging>
jar
</packaging>
<packaging>
jar
</packaging>
<name>
pcloud-facade-book
</name>
<name>
pcloud-facade-book
</name>
...
...
pcloud-facade-book/src/main/java/com/pcloud/book/book/dto/BookDto.java
View file @
061d0a18
...
@@ -746,6 +746,7 @@ public class BookDto extends BaseDto {
...
@@ -746,6 +746,7 @@ public class BookDto extends BaseDto {
@ApiModelProperty
(
"答案订阅状态"
)
@ApiModelProperty
(
"答案订阅状态"
)
private
Boolean
subscribeState
;
private
Boolean
subscribeState
;
<<<<<<<
HEAD
@ApiModelProperty
(
"版次"
)
@ApiModelProperty
(
"版次"
)
private
String
edition
;
private
String
edition
;
...
@@ -757,6 +758,18 @@ public class BookDto extends BaseDto {
...
@@ -757,6 +758,18 @@ public class BookDto extends BaseDto {
this
.
edition
=
edition
;
this
.
edition
=
edition
;
}
}
=======
>>>>>>>
d6624c2c31b9ef3ce5d6f2d09aa9106dde275d5f
private
BookAdviserDto
bookAdviserDto
;
public
BookAdviserDto
getBookAdviserDto
()
{
return
bookAdviserDto
;
}
public
void
setBookAdviserDto
(
BookAdviserDto
bookAdviserDto
)
{
this
.
bookAdviserDto
=
bookAdviserDto
;
}
public
Boolean
getSubscribeState
()
{
public
Boolean
getSubscribeState
()
{
return
subscribeState
;
return
subscribeState
;
}
}
...
...
pcloud-service-book/pom.xml
View file @
061d0a18
...
@@ -3,13 +3,13 @@
...
@@ -3,13 +3,13 @@
<parent>
<parent>
<groupId>
com.pcloud.common
</groupId>
<groupId>
com.pcloud.common
</groupId>
<artifactId>
pcloud-book-parent
</artifactId>
<artifactId>
pcloud-book-parent
</artifactId>
<version>
2.1.0-
RELEASE
</version>
<version>
2.1.0-
SNAPSHOT
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
com.pcloud.service
</groupId>
<groupId>
com.pcloud.service
</groupId>
<artifactId>
pcloud-service-book
</artifactId>
<artifactId>
pcloud-service-book
</artifactId>
<version>
2.1.0-
RELEASE
</version>
<version>
2.1.0-
SNAPSHOT
</version>
<packaging>
jar
</packaging>
<packaging>
jar
</packaging>
<name>
pcloud-service-book
</name>
<name>
pcloud-service-book
</name>
...
...
pcloud-service-book/src/main/java/com/pcloud/book/book/biz/impl/BookBizImpl.java
View file @
061d0a18
...
@@ -623,9 +623,13 @@ public class BookBizImpl implements BookBiz {
...
@@ -623,9 +623,13 @@ public class BookBizImpl implements BookBiz {
bookDto
=
bookDao
.
getBaseById
(
bookId
);
bookDto
=
bookDao
.
getBaseById
(
bookId
);
BookAdviserDto
bookAdviserDto
=
bookAdviserBiz
.
getOneMainBook
(
bookId
);
BookAdviserDto
bookAdviserDto
=
bookAdviserBiz
.
getOneMainBook
(
bookId
);
if
(
null
!=
bookDto
&&
null
!=
bookAdviserDto
)
{
if
(
null
!=
bookDto
&&
null
!=
bookAdviserDto
)
{
bookDto
.
setBookAdviserDto
(
bookAdviserDto
);
bookDto
.
setTempletId
(
bookAdviserDto
.
getTempletId
());
bookDto
.
setTempletId
(
bookAdviserDto
.
getTempletId
());
bookSet
.
setFirstTemplateName
(
bookDto
);
bookSet
.
setFirstTemplateName
(
bookDto
);
adviserId
=
bookAdviserDto
.
getAdviserId
();
adviserId
=
bookAdviserDto
.
getAdviserId
();
if
(
bookAdviserDto
.
getGraLabelId
()!=
null
){
bookDto
.
setGraLabelId
(
bookAdviserDto
.
getGraLabelId
());
}
}
}
if
(
Objects
.
nonNull
(
bookDto
)){
if
(
Objects
.
nonNull
(
bookDto
)){
bookDto
.
setIsLibraryBook
(
checkIsLibraryBook
(
adviserId
,
bookId
)
?
1
:
0
);
bookDto
.
setIsLibraryBook
(
checkIsLibraryBook
(
adviserId
,
bookId
)
?
1
:
0
);
...
...
pom.xml
View file @
061d0a18
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<groupId>
com.pcloud.common
</groupId>
<groupId>
com.pcloud.common
</groupId>
<artifactId>
pcloud-book-parent
</artifactId>
<artifactId>
pcloud-book-parent
</artifactId>
<version>
2.1.0-
RELEASE
</version>
<version>
2.1.0-
SNAPSHOT
</version>
<modules>
<modules>
<module>
pcloud-facade-book
</module>
<module>
pcloud-facade-book
</module>
<module>
pcloud-service-book
</module>
<module>
pcloud-service-book
</module>
...
...
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