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
a5048916
Commit
a5048916
authored
Nov 25, 2022
by
jx-art
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查询详细信息 返回对象信息
parent
5659cdb1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
5 deletions
+43
-5
InteriorChangeConfigServiceImpl.java
...nge/biz/service/impl/InteriorChangeConfigServiceImpl.java
+0
-2
FlowIusRpcService.java
...anxuan/change/integration/flow/ius/FlowIusRpcService.java
+3
-1
IusUserInfoRsp.java
...l/yanxuan/change/integration/flow/ius/IusUserInfoRsp.java
+36
-0
ChangeConfigController.java
...yanxuan/change/web/controller/ChangeConfigController.java
+4
-2
No files found.
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/service/impl/InteriorChangeConfigServiceImpl.java
View file @
a5048916
...
@@ -109,8 +109,6 @@ public class InteriorChangeConfigServiceImpl implements InteriorChangeConfigServ
...
@@ -109,8 +109,6 @@ public class InteriorChangeConfigServiceImpl implements InteriorChangeConfigServ
goodsRpc
.
setName
(
purchaseRpc
.
getSupplierName
());
goodsRpc
.
setName
(
purchaseRpc
.
getSupplierName
());
emails
.
add
(
goodsRpc
);
emails
.
add
(
goodsRpc
);
}
}
logger
.
error
(
"是否有只进来了?查看数量\t"
+
emails
.
size
());
logger
.
error
(
emails
.
toString
());
}
else
if
(
commander
.
equals
(
"计划"
))
{
}
else
if
(
commander
.
equals
(
"计划"
))
{
String
detail
=
pfuApiRpcService
.
getDetail
(
goodsInfos
);
String
detail
=
pfuApiRpcService
.
getDetail
(
goodsInfos
);
logger
.
error
(
"根据商品查看商品负责计划接口返回值\t"
+
detail
);
logger
.
error
(
"根据商品查看商品负责计划接口返回值\t"
+
detail
);
...
...
yanxuan-qc-change-system-integration/src/main/java/com/netease/mail/yanxuan/change/integration/flow/ius/FlowIusRpcService.java
View file @
a5048916
package
com
.
netease
.
mail
.
yanxuan
.
change
.
integration
.
flow
.
ius
;
package
com
.
netease
.
mail
.
yanxuan
.
change
.
integration
.
flow
.
ius
;
import
com.netease.yanxuan.flowx.sdk.meta.controller.communal.AjaxResponse
;
import
com.netease.yanxuan.flowx.sdk.meta.dto.base.FlowDataDTO
;
import
com.netease.yanxuan.missa.client.annotation.MissaClient
;
import
com.netease.yanxuan.missa.client.annotation.MissaClient
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.GetMapping
;
...
@@ -16,7 +18,7 @@ import org.springframework.web.bind.annotation.RequestParam;
...
@@ -16,7 +18,7 @@ import org.springframework.web.bind.annotation.RequestParam;
public
interface
FlowIusRpcService
{
public
interface
FlowIusRpcService
{
@GetMapping
(
"/v1/qc/user/get"
)
@GetMapping
(
"/v1/qc/user/get"
)
String
queryEmail
Info
(
@RequestParam
(
name
=
"uid"
)
String
uid
);
AjaxResponse
<
IusUserInfoRsp
>
queryUser
Info
(
@RequestParam
(
name
=
"uid"
)
String
uid
);
@GetMapping
(
"/v1/qc/allTeam/pos/queryLeaderChain"
)
@GetMapping
(
"/v1/qc/allTeam/pos/queryLeaderChain"
)
String
queryLeaderChain
(
@RequestParam
(
name
=
"uid"
)
String
uid
);
String
queryLeaderChain
(
@RequestParam
(
name
=
"uid"
)
String
uid
);
...
...
yanxuan-qc-change-system-integration/src/main/java/com/netease/mail/yanxuan/change/integration/flow/ius/IusUserInfoRsp.java
0 → 100644
View file @
a5048916
package
com
.
netease
.
mail
.
yanxuan
.
change
.
integration
.
flow
.
ius
;
import
lombok.Data
;
/**
* @author WangJiaXiang
* @date 2022/11/25/025$
* 用来接受查询用户信息接口
*/
@Data
public
class
IusUserInfoRsp
{
private
Long
createTime
;
private
String
extEmail
;
private
Long
firstLoginTime
;
private
Long
lastLoginTime
;
private
Boolean
locked
;
private
String
name
;
private
Integer
orgPosId
;
private
Integer
srcCode
;
private
Integer
staffStatus
;
private
String
uid
;
private
String
userId
;
private
String
virtual
;
}
yanxuan-qc-change-system-web/src/main/java/com/netease/mail/yanxuan/change/web/controller/ChangeConfigController.java
View file @
a5048916
...
@@ -10,6 +10,8 @@ import com.netease.mail.yanxuan.change.dal.meta.model.req.ChangeConfigReq;
...
@@ -10,6 +10,8 @@ import com.netease.mail.yanxuan.change.dal.meta.model.req.ChangeConfigReq;
import
com.netease.mail.yanxuan.change.dal.meta.model.rpc.GoodsResponseRpc
;
import
com.netease.mail.yanxuan.change.dal.meta.model.rpc.GoodsResponseRpc
;
import
com.netease.mail.yanxuan.change.integration.flow.ius.FlowIusRpcService
;
import
com.netease.mail.yanxuan.change.integration.flow.ius.FlowIusRpcService
;
import
com.netease.mail.yanxuan.change.integration.flow.ius.IusDepartmentReq
;
import
com.netease.mail.yanxuan.change.integration.flow.ius.IusDepartmentReq
;
import
com.netease.mail.yanxuan.change.integration.flow.ius.IusUserInfoRsp
;
import
com.netease.yanxuan.flowx.sdk.meta.controller.communal.AjaxResponse
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
...
@@ -112,8 +114,8 @@ public class ChangeConfigController {
...
@@ -112,8 +114,8 @@ public class ChangeConfigController {
private
FlowIusRpcService
iusRpcService
;
private
FlowIusRpcService
iusRpcService
;
@GetMapping
(
"/test"
)
@GetMapping
(
"/test"
)
public
String
queryGoods
(){
public
AjaxResponse
<
IusUserInfoRsp
>
queryGoods
(){
return
iusRpcService
.
query
Email
Info
(
"grp.gyhtest1001@corp.netease.com"
);
return
iusRpcService
.
query
User
Info
(
"grp.gyhtest1001@corp.netease.com"
);
}
}
@GetMapping
(
"/test1"
)
@GetMapping
(
"/test1"
)
...
...
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