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
3a511540
Commit
3a511540
authored
Apr 20, 2021
by
李传峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:[none] 调ERP接口,传参List去重处理
parent
84dcaff1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ErpConsr.java
.../src/main/java/com/pcloud/book/consumer/erp/ErpConsr.java
+4
-4
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/consumer/erp/ErpConsr.java
View file @
3a511540
...
@@ -27,6 +27,7 @@ import java.util.Date;
...
@@ -27,6 +27,7 @@ import java.util.Date;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
import
java.util.stream.Collectors
;
@Repository
(
"erpConsr"
)
@Repository
(
"erpConsr"
)
public
class
ErpConsr
{
public
class
ErpConsr
{
...
@@ -248,10 +249,9 @@ public class ErpConsr {
...
@@ -248,10 +249,9 @@ public class ErpConsr {
channelIds
.
remove
(
0L
);
channelIds
.
remove
(
0L
);
bookIds
.
remove
(
0L
);
bookIds
.
remove
(
0L
);
Map
<
String
,
List
<
Long
>>
bookAdviserChannelIdMap
=
new
HashMap
<>();
Map
<
String
,
List
<
Long
>>
bookAdviserChannelIdMap
=
new
HashMap
<>();
bookAdviserChannelIdMap
.
put
(
"adviserIds"
,
adviserIds
);
bookAdviserChannelIdMap
.
put
(
"adviserIds"
,
adviserIds
.
stream
().
distinct
().
collect
(
Collectors
.
toList
()));
bookAdviserChannelIdMap
.
put
(
"channelIds"
,
channelIds
);
bookAdviserChannelIdMap
.
put
(
"channelIds"
,
channelIds
.
stream
().
distinct
().
collect
(
Collectors
.
toList
()));
bookAdviserChannelIdMap
.
put
(
"bookIds"
,
bookIds
);
bookAdviserChannelIdMap
.
put
(
"bookIds"
,
bookIds
.
stream
().
distinct
().
collect
(
Collectors
.
toList
()));
Map
<
String
,
ErpBookApprovalDTO
>
resultMap
=
null
;
Map
<
String
,
String
>
headers
=
new
HashMap
<>();
Map
<
String
,
String
>
headers
=
new
HashMap
<>();
headers
.
put
(
"Content-Type"
,
"application/json"
);
headers
.
put
(
"Content-Type"
,
"application/json"
);
...
...
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