Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yanxuan-qc-change-system
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
胡园园
yanxuan-qc-change-system
Commits
ad47cb6b
Commit
ad47cb6b
authored
Dec 02, 2022
by
jx-art
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
装在数据逻辑填充~
parent
18ae2d67
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
InteriorChangeConfigServiceImpl.java
...nge/biz/service/impl/InteriorChangeConfigServiceImpl.java
+5
-3
No files found.
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/service/impl/InteriorChangeConfigServiceImpl.java
View file @
ad47cb6b
...
...
@@ -257,11 +257,11 @@ public class InteriorChangeConfigServiceImpl implements InteriorChangeConfigServ
*/
private
void
getGoodsPrincipalNameEmail
(
Integer
type
,
Map
<
Long
,
ChangeGoodsPrincipalPO
>
map
,
String
response
){
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
response
);
Map
<
Stri
ng
,
JSONObject
>
rpcMap
=
JSONObject
.
parseObject
(
jsonObject
.
get
(
"data"
).
toString
(),
Map
.
class
);
Map
<
Lo
ng
,
JSONObject
>
rpcMap
=
JSONObject
.
parseObject
(
jsonObject
.
get
(
"data"
).
toString
(),
Map
.
class
);
if
(
rpcMap
==
null
){
throw
ExceptionFactory
.
createBiz
(
ResponseCode
.
OPERATOR_NOT_EXIST
);
}
for
(
Stri
ng
rpc
:
rpcMap
.
keySet
()){
for
(
Lo
ng
rpc
:
rpcMap
.
keySet
()){
ChangeGoodsPrincipalPO
goodsRpc
;
if
(
map
.
containsKey
(
rpc
)){
goodsRpc
=
map
.
get
(
rpc
);
...
...
@@ -275,7 +275,9 @@ public class InteriorChangeConfigServiceImpl implements InteriorChangeConfigServ
goodsRpc
.
setGoodsProjectName
(
rpcMap
.
get
(
rpc
).
get
(
"uid"
).
toString
());
goodsRpc
.
setGoodsProjectEmail
(
rpcMap
.
get
(
rpc
).
get
(
"name"
).
toString
());
}
map
.
put
(
Long
.
parseLong
(
rpc
),
goodsRpc
);
if
(!
map
.
containsKey
(
rpc
)){
map
.
put
(
rpc
,
goodsRpc
);
}
}
}
...
...
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