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
yx-qc-change-flow
yanxuan-qc-change-system
Commits
920dcfd4
Commit
920dcfd4
authored
Jan 06, 2023
by
“zcwang”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify: 商品采购名称取值错误
parent
cc36c120
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
InteriorChangeConfigServiceImpl.java
...nge/biz/service/impl/InteriorChangeConfigServiceImpl.java
+3
-3
GoodsPurchaseRpc.java
...l/yanxuan/change/dal/meta/model/rpc/GoodsPurchaseRpc.java
+4
-0
No files found.
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/service/impl/InteriorChangeConfigServiceImpl.java
View file @
920dcfd4
...
...
@@ -164,7 +164,7 @@ public class InteriorChangeConfigServiceImpl implements InteriorChangeConfigServ
for
(
GoodsPurchaseRpc
purchaseRpc
:
purchaseRpcs
)
{
GoodsResponseRpc
goodsRpc
=
new
GoodsResponseRpc
();
goodsRpc
.
setEmail
(
purchaseRpc
.
getSupplierTraceBusiness
());
goodsRpc
.
setName
(
purchaseRpc
.
getSupplierName
());
goodsRpc
.
setName
(
purchaseRpc
.
getSupplier
TraceBusiness
Name
());
emails
.
add
(
goodsRpc
);
}
}
else
if
(
ChangePrincipalEnum
.
PROSPECTUS
.
getName
().
equals
(
commander
))
{
...
...
@@ -292,9 +292,9 @@ public class InteriorChangeConfigServiceImpl implements InteriorChangeConfigServ
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
GoodsPurchase
);
List
<
GoodsPurchaseRpc
>
purchaseRpcs
=
JSONObject
.
parseArray
(
jsonObject
.
get
(
"data"
).
toString
(),
GoodsPurchaseRpc
.
class
);
for
(
GoodsPurchaseRpc
rpc
:
purchaseRpcs
)
{
map
.
get
(
rpc
.
getItemId
().
longValue
()).
setPurchaseName
(
rpc
.
getSupplierName
());
map
.
get
(
rpc
.
getItemId
().
longValue
()).
setPurchaseName
(
rpc
.
getSupplier
TraceBusiness
Name
());
map
.
get
(
rpc
.
getItemId
().
longValue
()).
setPurchaseEmail
(
rpc
.
getSupplierTraceBusiness
());
goodsRpc
(
ChangePrincipalEnum
.
PURCHASE
.
getType
(),
rpc
.
getSupplierName
(),
map
.
get
(
rpc
.
getItemId
().
longValue
()));
goodsRpc
(
ChangePrincipalEnum
.
PURCHASE
.
getType
(),
rpc
.
getSupplier
TraceBusiness
Name
(),
map
.
get
(
rpc
.
getItemId
().
longValue
()));
}
//SQE
for
(
Long
itemId
:
itemIds
)
{
...
...
yanxuan-qc-change-system-dal/src/main/java/com/netease/mail/yanxuan/change/dal/meta/model/rpc/GoodsPurchaseRpc.java
View file @
920dcfd4
...
...
@@ -16,4 +16,8 @@ public class GoodsPurchaseRpc {
private
String
supplierTraceBusiness
;
/**
* 商品采购名称
*/
private
String
supplierTraceBusinessName
;
}
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