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
cf1267d1
Commit
cf1267d1
authored
Nov 25, 2022
by
jx-art
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解析部门参数
parent
a5048916
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
116 additions
and
4 deletions
+116
-4
FlowIusRpcService.java
...anxuan/change/integration/flow/ius/FlowIusRpcService.java
+2
-2
IusDepartmentRsp.java
...yanxuan/change/integration/flow/ius/IusDepartmentRsp.java
+16
-0
OrgPos.java
...ease/mail/yanxuan/change/integration/flow/ius/OrgPos.java
+24
-0
SecondaryDepartments.java
...uan/change/integration/flow/ius/SecondaryDepartments.java
+31
-0
leaderChain.java
...mail/yanxuan/change/integration/flow/ius/leaderChain.java
+40
-0
ChangeConfigController.java
...yanxuan/change/web/controller/ChangeConfigController.java
+3
-2
No files found.
yanxuan-qc-change-system-integration/src/main/java/com/netease/mail/yanxuan/change/integration/flow/ius/FlowIusRpcService.java
View file @
cf1267d1
...
@@ -21,9 +21,9 @@ public interface FlowIusRpcService {
...
@@ -21,9 +21,9 @@ public interface FlowIusRpcService {
AjaxResponse
<
IusUserInfoRsp
>
queryUserInfo
(
@RequestParam
(
name
=
"uid"
)
String
uid
);
AjaxResponse
<
IusUserInfoRsp
>
queryUserInfo
(
@RequestParam
(
name
=
"uid"
)
String
uid
);
@GetMapping
(
"/v1/qc/allTeam/pos/queryLeaderChain"
)
@GetMapping
(
"/v1/qc/allTeam/pos/queryLeaderChain"
)
String
queryLeaderChain
(
@RequestParam
(
name
=
"uid"
)
String
uid
);
AjaxResponse
<
IusDepartmentRsp
>
queryLeaderChain
(
@RequestParam
(
name
=
"uid"
)
String
uid
);
@PostMapping
(
"/v1/qc/user/queryLeaderChain"
)
@PostMapping
(
"/v1/qc/user/queryLeaderChain"
)
String
queryDepartment
(
@RequestBody
IusDepartmentReq
uid
);
AjaxResponse
<
IusDepartmentRsp
>
queryDepartment
(
@RequestBody
IusDepartmentReq
uid
);
}
}
yanxuan-qc-change-system-integration/src/main/java/com/netease/mail/yanxuan/change/integration/flow/ius/IusDepartmentRsp.java
0 → 100644
View file @
cf1267d1
package
com
.
netease
.
mail
.
yanxuan
.
change
.
integration
.
flow
.
ius
;
import
lombok.Data
;
import
java.util.List
;
/**
* @author WangJiaXiang
* @date 2022/11/25/025$
*/
@Data
public
class
IusDepartmentRsp
{
List
<
SecondaryDepartments
>
secondaryDepartments
;
}
yanxuan-qc-change-system-integration/src/main/java/com/netease/mail/yanxuan/change/integration/flow/ius/OrgPos.java
0 → 100644
View file @
cf1267d1
package
com
.
netease
.
mail
.
yanxuan
.
change
.
integration
.
flow
.
ius
;
import
lombok.Data
;
/**
* @author WangJiaXiang
* @date 2022/11/25/025$
*/
@Data
public
class
OrgPos
{
private
String
deptId
;
private
int
level
;
private
int
orgPosId
;
private
String
orgPosName
;
private
int
parentOrgPosId
;
private
int
posStructType
;
private
int
rootOrgPosId
;
}
yanxuan-qc-change-system-integration/src/main/java/com/netease/mail/yanxuan/change/integration/flow/ius/SecondaryDepartments.java
0 → 100644
View file @
cf1267d1
package
com
.
netease
.
mail
.
yanxuan
.
change
.
integration
.
flow
.
ius
;
import
lombok.Data
;
import
java.util.List
;
/**
* @author WangJiaXiang
* @date 2022/11/25/025$
*/
@Data
public
class
SecondaryDepartments
{
private
int
identity
;
private
List
<
leaderChain
>
leaderChainList
;
private
int
orgPosId
;
private
int
orgPosLevel
;
private
String
orgPosName
;
private
String
uid
;
private
int
userId
;
private
String
userName
;
}
yanxuan-qc-change-system-integration/src/main/java/com/netease/mail/yanxuan/change/integration/flow/ius/leaderChain.java
0 → 100644
View file @
cf1267d1
package
com
.
netease
.
mail
.
yanxuan
.
change
.
integration
.
flow
.
ius
;
import
lombok.Data
;
/**
* @author WangJiaXiang
* @date 2022/11/25/025$
*/
@Data
public
class
leaderChain
{
private
int
createTime
;
private
String
extEmail
;
private
int
firstLoginTime
;
private
int
identity
;
private
int
lastLoginTime
;
private
boolean
locked
;
private
String
name
;
private
OrgPos
orgPos
;
private
int
orgPosId
;
private
int
orgPosLevel
;
private
String
srcCode
;
private
int
staffStatus
;
private
String
uid
;
private
int
userId
;
private
boolean
virtual
;
}
yanxuan-qc-change-system-web/src/main/java/com/netease/mail/yanxuan/change/web/controller/ChangeConfigController.java
View file @
cf1267d1
...
@@ -10,6 +10,7 @@ import com.netease.mail.yanxuan.change.dal.meta.model.req.ChangeConfigReq;
...
@@ -10,6 +10,7 @@ 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.IusDepartmentRsp
;
import
com.netease.mail.yanxuan.change.integration.flow.ius.IusUserInfoRsp
;
import
com.netease.mail.yanxuan.change.integration.flow.ius.IusUserInfoRsp
;
import
com.netease.yanxuan.flowx.sdk.meta.controller.communal.AjaxResponse
;
import
com.netease.yanxuan.flowx.sdk.meta.controller.communal.AjaxResponse
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
@@ -119,14 +120,14 @@ public class ChangeConfigController {
...
@@ -119,14 +120,14 @@ public class ChangeConfigController {
}
}
@GetMapping
(
"/test1"
)
@GetMapping
(
"/test1"
)
public
String
queryGoods1
(){
public
AjaxResponse
<
IusDepartmentRsp
>
queryGoods1
(){
ArrayList
<
String
>
strings
=
new
ArrayList
<>();
ArrayList
<
String
>
strings
=
new
ArrayList
<>();
strings
.
add
(
"grp.gyhtest1001@corp.netease.com"
);
strings
.
add
(
"grp.gyhtest1001@corp.netease.com"
);
return
iusRpcService
.
queryDepartment
(
new
IusDepartmentReq
(
strings
));
return
iusRpcService
.
queryDepartment
(
new
IusDepartmentReq
(
strings
));
}
}
@GetMapping
(
"/test2"
)
@GetMapping
(
"/test2"
)
public
String
queryGoods2
(){
public
AjaxResponse
<
IusDepartmentRsp
>
queryGoods2
(){
return
iusRpcService
.
queryLeaderChain
(
"grp.gyhtest1001@corp.netease.com"
);
return
iusRpcService
.
queryLeaderChain
(
"grp.gyhtest1001@corp.netease.com"
);
}
}
...
...
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