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
f645fc9f
Commit
f645fc9f
authored
Aug 26, 2020
by
桂前礼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug: [none] 解决地理位置咨询匹配出现重复的bug
parent
b79124b9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
AppletNewsBizImpl.java
...va/com/pcloud/book/applet/biz/impl/AppletNewsBizImpl.java
+1
-1
RightsSettingBizImpl.java
...oud/book/rightsSetting/biz/impl/RightsSettingBizImpl.java
+4
-2
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/applet/biz/impl/AppletNewsBizImpl.java
View file @
f645fc9f
...
...
@@ -211,10 +211,10 @@ public class AppletNewsBizImpl implements AppletNewsBiz {
}
private
void
saveAppletNewsCategory
(
List
<
AppletNewsCategory
>
categoryList
,
Long
newsId
)
{
appletNewsCategoryDao
.
deletebyNewsId
(
newsId
);
if
(
ListUtils
.
isEmpty
(
categoryList
))
{
return
;
}
appletNewsCategoryDao
.
deletebyNewsId
(
newsId
);
List
<
AppletNewsCategory
>
list
=
new
ArrayList
<>();
for
(
AppletNewsCategory
category
:
categoryList
)
{
...
...
pcloud-service-book/src/main/java/com/pcloud/book/rightsSetting/biz/impl/RightsSettingBizImpl.java
View file @
f645fc9f
...
...
@@ -34,8 +34,6 @@ import com.pcloud.book.consumer.channel.QrcodeSceneConsr;
import
com.pcloud.book.consumer.erp.ErpConsr
;
import
com.pcloud.book.consumer.reader.ReaderConsr
;
import
com.pcloud.book.consumer.resource.ProductConsr
;
import
com.pcloud.book.consumer.user.AdviserConsr
;
import
com.pcloud.book.consumer.user.MerchantConsr
;
import
com.pcloud.book.cultivate.enums.ReadTypeEnum
;
import
com.pcloud.book.custom.biz.CustomPlanBiz
;
import
com.pcloud.book.custom.entity.CustomPlan
;
...
...
@@ -1993,6 +1991,10 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
//数据库取
if
(
ListUtils
.
isEmpty
(
newsDTOS
)
||
newsDTOS
.
size
()
<
top
)
{
if
(
item
.
getRightsClassifyId
()
==
13
){
if
(
CollUtil
.
isNotEmpty
(
appletNews4Area
)&&
CollUtil
.
isNotEmpty
(
item
.
getAppletNewsDTOS
())){
Map
<
Long
,
AppletNewsDTO
>
itemMap
=
item
.
getAppletNewsDTOS
().
stream
().
collect
(
Collectors
.
toMap
(
AppletNewsDTO:
:
getId
,
AppletNewsDTO
->
AppletNewsDTO
));
appletNews4Area
.
removeIf
(
appletNewsDTO
->
itemMap
.
containsKey
(
appletNewsDTO
.
getId
()));
}
newsDTOS
=
appletNews4Area
;
}
else
if
(!
MapUtils
.
isEmpty
(
map
)
&&
map
.
containsKey
(
item
.
getRightsClassifyId
()))
{
newsDTOS
=
map
.
get
(
item
.
getRightsClassifyId
());
...
...
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