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
c4223096
Commit
c4223096
authored
Dec 24, 2021
by
郑勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug: [1032300] 应用智能推荐已删除的应用,页面仍旧显示
parent
06e0150d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
ResourcePageBizImpl.java
...a/com/pcloud/book/group/biz/impl/ResourcePageBizImpl.java
+18
-0
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/impl/ResourcePageBizImpl.java
View file @
c4223096
...
@@ -3149,6 +3149,12 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
...
@@ -3149,6 +3149,12 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
recommendServeVO
.
setServeId
(
dto
.
getServeId
());
recommendServeVO
.
setServeId
(
dto
.
getServeId
());
recommendServeVO
.
setServeType
(
"APP"
);
recommendServeVO
.
setServeType
(
"APP"
);
if
(
null
!=
appDto
)
{
if
(
null
!=
appDto
)
{
if
(
null
!=
appDto
.
getIsDelete
()
&&
YesOrNoNumEnum
.
YES
.
getValue
().
equals
(
appDto
.
getIsDelete
())){
continue
;
}
if
(
null
!=
appDto
.
getAuditState
()
&&
!
YesOrNoNumEnum
.
YES
.
getValue
().
equals
(
appDto
.
getAuditState
())){
continue
;
}
recommendServeVO
.
setServeName
(
appDto
.
getTitle
());
recommendServeVO
.
setServeName
(
appDto
.
getTitle
());
recommendServeVO
.
setServePic
(
appDto
.
getSquareImg
());
recommendServeVO
.
setServePic
(
appDto
.
getSquareImg
());
recommendServeVO
.
setTransverseImg
(
appDto
.
getTransverseImg
());
recommendServeVO
.
setTransverseImg
(
appDto
.
getTransverseImg
());
...
@@ -3166,6 +3172,18 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
...
@@ -3166,6 +3172,18 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
if
(
CollUtil
.
isNotEmpty
(
superMerchantIdList
)
&&
superMerchantIdList
.
contains
(
productDto
.
getCreatedUser
())){
if
(
CollUtil
.
isNotEmpty
(
superMerchantIdList
)
&&
superMerchantIdList
.
contains
(
productDto
.
getCreatedUser
())){
superProductIds
.
add
(
productDto
.
getProductId
());
superProductIds
.
add
(
productDto
.
getProductId
());
}
}
if
(
null
!=
productDto
.
getIsDelete
()
&&
YesOrNoNumEnum
.
YES
.
getValue
().
equals
(
productDto
.
getIsDelete
())){
continue
;
}
if
(
null
!=
productDto
.
getSaleState
()
&&
!
"1"
.
equals
(
productDto
.
getSaleState
())){
continue
;
}
if
(
null
!=
productDto
.
getSaleStartDate
()
&&
productDto
.
getSaleStartDate
().
after
(
new
Date
())){
continue
;
}
if
(
null
!=
productDto
.
getSaleEndDate
()
&&
productDto
.
getSaleEndDate
().
before
(
new
Date
())){
continue
;
}
recommendServeVO
.
setServeName
(
productDto
.
getProductName
());
recommendServeVO
.
setServeName
(
productDto
.
getProductName
());
recommendServeVO
.
setServePic
(
productDto
.
getCoverImg
());
recommendServeVO
.
setServePic
(
productDto
.
getCoverImg
());
recommendServeVO
.
setTransverseImg
(
productDto
.
getPicture1
());
recommendServeVO
.
setTransverseImg
(
productDto
.
getPicture1
());
...
...
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