Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gogirl-miniapp-backend
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
huluobin
gogirl-miniapp-backend
Commits
11898222
Commit
11898222
authored
May 19, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update 美甲师作品
parent
f152f3e5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
CareerCmdServiceImpl.java
...rl/application/store/store/impl/CareerCmdServiceImpl.java
+2
-3
application.yml
src/main/resources/application.yml
+1
-1
No files found.
src/main/java/com/gogirl/application/store/store/impl/CareerCmdServiceImpl.java
View file @
11898222
...
...
@@ -192,13 +192,12 @@ public class CareerCmdServiceImpl implements CareerCmdService {
List
<
PurchaseSku
>
purchaseSkuList
=
purchaseSkuMapper
.
listByProduceIds
(
baseProducePage
.
getRecords
().
stream
().
map
(
BaseProduce:
:
getId
).
collect
(
Collectors
.
toList
()));
Map
<
Integer
,
List
<
PurchaseSku
>>
map
=
purchaseSkuList
.
stream
()
.
collect
(
Collectors
.
groupingBy
(
PurchaseSku:
:
getProduceId
));
Map
<
Integer
,
List
<
PurchaseSku
>>
map
=
purchaseSkuList
.
stream
().
collect
(
Collectors
.
groupingBy
(
PurchaseSku:
:
getProduceId
));
baseProducePage
.
getRecords
().
forEach
(
baseProduce
->
{
List
<
PurchaseSku
>
list
=
map
.
get
(
baseProduce
.
getId
());
if
(
ListUtil
.
isNotEmpty
(
list
))
{
baseProduce
.
setPurchaseSkuList
(
purchaseSkuL
ist
);
baseProduce
.
setPurchaseSkuList
(
l
ist
);
}
});
...
...
src/main/resources/application.yml
View file @
11898222
spring
:
profiles
:
active
:
pr
od
active
:
pr
e
servlet
:
#文件上传最大容量
multipart
:
...
...
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