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
57dec6fd
Commit
57dec6fd
authored
Jun 03, 2021
by
郑永强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug: [1029635] rays书刊信息同步没有同步封面
parent
f7c6dede
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
BookBizImpl.java
.../main/java/com/pcloud/book/book/biz/impl/BookBizImpl.java
+3
-2
SyncRelateDataToRaysVO.java
...m/pcloud/book/book/vo/request/SyncRelateDataToRaysVO.java
+2
-0
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/book/biz/impl/BookBizImpl.java
View file @
57dec6fd
...
@@ -111,6 +111,7 @@ import com.pcloud.common.utils.cache.redis.JedisClusterUtils;
...
@@ -111,6 +111,7 @@ import com.pcloud.common.utils.cache.redis.JedisClusterUtils;
import
com.pcloud.common.utils.string.StringUtil
;
import
com.pcloud.common.utils.string.StringUtil
;
import
com.pcloud.commoncenter.export.service.ExportService
;
import
com.pcloud.commoncenter.export.service.ExportService
;
import
com.pcloud.labelcenter.label.service.LabelService
;
import
com.pcloud.labelcenter.label.service.LabelService
;
import
com.pcloud.message.common.enums.YesNoEnums
;
import
com.pcloud.resourcecenter.product.dto.ProductDto
;
import
com.pcloud.resourcecenter.product.dto.ProductDto
;
import
com.pcloud.resourcecenter.product.dto.SpecificationDto
;
import
com.pcloud.resourcecenter.product.dto.SpecificationDto
;
import
com.pcloud.usercenter.party.adviser.dto.AdviserBaseInfoDto
;
import
com.pcloud.usercenter.party.adviser.dto.AdviserBaseInfoDto
;
...
@@ -493,7 +494,7 @@ public class BookBizImpl implements BookBiz {
...
@@ -493,7 +494,7 @@ public class BookBizImpl implements BookBiz {
if
(
StringUtil
.
isEmpty
(
book
.
getSerialNumber
()))
{
if
(
StringUtil
.
isEmpty
(
book
.
getSerialNumber
()))
{
book
.
setSerialNumber
(
null
);
book
.
setSerialNumber
(
null
);
}
}
if
(
StringUtil
.
isEmpty
(
book
.
getCoverImg
()))
{
if
(
StringUtil
.
isEmpty
(
book
.
getCoverImg
())
&&
YesNoEnums
.
YES
.
code
!=
book
.
getForceUpdateSerialNumber
()
)
{
throw
new
BookBizException
(
BookBizException
.
PARAM_IS_NULL
,
"图书封面图不能为空"
);
throw
new
BookBizException
(
BookBizException
.
PARAM_IS_NULL
,
"图书封面图不能为空"
);
}
}
if
(
BookConstant
.
DEFAULT_BOOK_ISBN
.
equals
(
book
.
getIsbn
())
&&
StringUtils
.
isEmpty
(
book
.
getSerialNumber
()))
{
if
(
BookConstant
.
DEFAULT_BOOK_ISBN
.
equals
(
book
.
getIsbn
())
&&
StringUtils
.
isEmpty
(
book
.
getSerialNumber
()))
{
...
@@ -4283,6 +4284,6 @@ public class BookBizImpl implements BookBiz {
...
@@ -4283,6 +4284,6 @@ public class BookBizImpl implements BookBiz {
}
}
Book
book
=
BeanUtil
.
copyProperties
(
vo
,
Book
.
class
);
Book
book
=
BeanUtil
.
copyProperties
(
vo
,
Book
.
class
);
book
.
setForceUpdateSerialNumber
(
YesOrNoEnums
.
YES
.
getValue
());
book
.
setForceUpdateSerialNumber
(
YesOrNoEnums
.
YES
.
getValue
());
bookDao
.
updateByAdviser
(
book
);
this
.
updateBookAndBookType
(
book
);
}
}
}
}
pcloud-service-book/src/main/java/com/pcloud/book/book/vo/request/SyncRelateDataToRaysVO.java
View file @
57dec6fd
...
@@ -27,5 +27,7 @@ public class SyncRelateDataToRaysVO {
...
@@ -27,5 +27,7 @@ public class SyncRelateDataToRaysVO {
private
String
publish
;
private
String
publish
;
private
String
coverImg
;
private
BigDecimal
bookPrice
;
private
BigDecimal
bookPrice
;
}
}
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