feat:android机器硬件管理接口

This commit is contained in:
dzc committed 2025-01-06 16:13:03 +08:00
1 parent f922ddf09b
commit d1db95452e
46 files changed
+1440 -316

No files matched your search

@@ -37,27 +37,39 @@ import java.util.Map;
@FeignClient(contextId = "remoteDeptService", value = ServiceNameConstants.UPMS_SERVICE)
public interface RemoteDeptService {
/**
* 获取所有部门接口
* @param parentDeptId 父部门ID
* @return R 返回结果对象,包含所有部门信息列表
*/
@GetMapping("/dept/list")
R<List<SysDept>> getAllDept(@RequestParam("parentDeptId") Long parentDeptId);
/**
* 获取所有部门接口
*
* @param parentDeptId 父部门ID
* @return R 返回结果对象,包含所有部门信息列表
*/
@GetMapping("/dept/list")
R<List<SysDept>> getAllDept(@RequestParam("parentDeptId") Long parentDeptId);
/**
* 通过部门ID获取负责人列表
* @param deptId 部门ID
* @return 负责人ID列表
*/
@GetMapping("/dept/leader/{deptId}")
R<List<Long>> getAllDeptLeader(@PathVariable("deptId") Long deptId);
/**
* 通过部门ID获取负责人列表
*
* @param deptId 部门ID
* @return 负责人ID列表
*/
@GetMapping("/dept/leader/{deptId}")
R<List<Long>> getAllDeptLeader(@PathVariable("deptId") Long deptId);
/**
* 根据部门id集合查询
* @param deptIds
* @return
*/
@GetMapping("/dept/getDeptListByDeptIds")
R<Map<Long, SysDept>> getDeptByDeptIds(@RequestParam("deptIds")List<Long> deptIds);
/**
* 根据部门id集合查询
*
* @param deptIds
* @return
*/
@GetMapping("/dept/getDeptListByDeptIds")
R<Map<Long, SysDept>> getDeptByDeptIds(@RequestParam("deptIds") List<Long> deptIds);
/**
* 根据部门id查询
*
* @param deptId
* @return
*/
@GetMapping("/dept/getDeptListByDeptId")
R<SysDept> getDeptByDeptId(@RequestParam("deptId") Long deptId);
}