Commit 51ec2e0f by jx-art

注释补充

parent b146e528
...@@ -23,12 +23,27 @@ import java.util.List; ...@@ -23,12 +23,27 @@ import java.util.List;
@MissaClient(serviceCode = "yanxuan-ius") @MissaClient(serviceCode = "yanxuan-ius")
public interface IusRpcService { public interface IusRpcService {
/**
* 获取指定用户信息,是否返回操作记录、关联的角色信息。当uid和userId都传时,需保证指向同一个用户。
* @param uid
* @return
*/
@GetMapping("/v1/qc/user/get") @GetMapping("/v1/qc/user/get")
AjaxResponse<IusUserInfoRsp> queryUserInfo(@RequestParam(name = "uid")String uid); AjaxResponse<IusUserInfoRsp> queryUserInfo(@RequestParam(name = "uid")String uid);
/**
* 查询指定用户部门下的上级部门(含本部门)负责人链(支持一级或多级)
* @param uid
* @return
*/
@GetMapping("/v1/qc/allTeam/pos/queryLeaderChain") @GetMapping("/v1/qc/allTeam/pos/queryLeaderChain")
AjaxResponse<List<OrgPosLeaderChainRsp>> queryLeaderChain(@RequestParam(name = "uid")String uid); AjaxResponse<List<OrgPosLeaderChainRsp>> queryLeaderChain(@RequestParam(name = "uid")String uid);
/**
* 查询用户的负责人链(直接上级和所有上级),返回(key=用户邮箱,value=用户所属所有部门的上级(包括本部门)负责人链)
* @param uid
* @return
*/
@PostMapping("/v1/qc/user/queryLeaderChain") @PostMapping("/v1/qc/user/queryLeaderChain")
AjaxResponse<HashMap<String, List<SecondaryDepartments>>> queryDepartment(@RequestBody IusDepartmentReq uid); AjaxResponse<HashMap<String, List<SecondaryDepartments>>> queryDepartment(@RequestBody IusDepartmentReq uid);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment