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
7bd36468
Commit
7bd36468
authored
Jan 06, 2023
by
“zcwang”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify: 添加线上日志方便排查
parent
9c8decdf
Pipeline
#44546
passed with stages
in 2 minutes 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
.gitlab-ci.yml
.gitlab-ci.yml
+1
-0
InteriorChangeConfigServiceImpl.java
...nge/biz/service/impl/InteriorChangeConfigServiceImpl.java
+4
-4
No files found.
.gitlab-ci.yml
View file @
7bd36468
...
...
@@ -79,6 +79,7 @@ test_image_upload:
only
:
-
dev
-
/^feature-.*$/
-
/^hotfix.*$/
dependencies
:
-
test_package
...
...
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/service/impl/InteriorChangeConfigServiceImpl.java
View file @
7bd36468
...
...
@@ -152,13 +152,13 @@ public class InteriorChangeConfigServiceImpl implements InteriorChangeConfigServ
if
(
ChangePrincipalEnum
.
GOODS_BU
.
getName
().
equals
(
commander
))
{
String
detail
=
itemcenterApiRpcService
.
getDetail
(
goodsInfos
);
logger
.
error
(
"根据商品查看商品负责BU接口返回值\t"
+
detail
);
logger
.
info
(
"[queryGoodsCommander] goods_bu:{}"
,
detail
);
getGoodsNameEmail
(
emails
,
detail
);
}
else
if
(
ChangePrincipalEnum
.
PURCHASE
.
getName
().
equals
(
commander
))
{
//采购返回值处理逻辑
String
detail
=
supplierSendService
.
queryGoodsPurchase
(
goodsInfos
);
logger
.
error
(
"根据商品查看商品负责采购接口返回值\t"
+
detail
);
logger
.
info
(
"[queryGoodsCommander] purchase:{}"
,
detail
);
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
detail
);
List
<
GoodsPurchaseRpc
>
purchaseRpcs
=
JSONObject
.
parseArray
(
jsonObject
.
get
(
"data"
).
toString
(),
GoodsPurchaseRpc
.
class
);
for
(
GoodsPurchaseRpc
purchaseRpc
:
purchaseRpcs
)
{
...
...
@@ -169,12 +169,12 @@ public class InteriorChangeConfigServiceImpl implements InteriorChangeConfigServ
}
}
else
if
(
ChangePrincipalEnum
.
PROSPECTUS
.
getName
().
equals
(
commander
))
{
String
detail
=
pfuApiRpcService
.
getDetail
(
goodsInfos
);
logger
.
error
(
"根据商品查看商品负责计划接口返回值\t"
+
detail
);
logger
.
info
(
"[queryGoodsCommander] prospectus:{}"
,
detail
);
getGoodsNameEmail
(
emails
,
detail
);
}
else
if
(
ChangePrincipalEnum
.
SQE
.
getName
().
equals
(
commander
))
{
for
(
Long
goods
:
goodsInfos
)
{
String
detail
=
qcApiRpcService
.
getDetail
(
goods
.
intValue
());
logger
.
error
(
"根据商品查看商品负责SQE接口返回值\t"
+
detail
);
logger
.
info
(
"[queryGoodsCommander] SQE:{}"
,
detail
);
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
detail
);
GoodsResponseSqeRpc
data
=
jsonObject
.
getObject
(
"data"
,
GoodsResponseSqeRpc
.
class
);
if
(
data
!=
null
)
{
...
...
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