|
|
@@ -22,6 +22,18 @@ public interface RemoteOrgService {
|
|
|
@GetMapping("/org/list/nopage")
|
|
|
R<List<SysOrg>> getAllOrg(@RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
|
|
|
|
|
+ @GetMapping("/dept/selectCheckSubOrgIdList")
|
|
|
+ public R<List<Long>> selectCheckSubOrgIdList(Long orgId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
|
|
+
|
|
|
+ @GetMapping("/dept/selectSysOrgById")
|
|
|
+ public R<SysOrg> selectSysOrgById(Long id, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
|
|
+
|
|
|
+ @GetMapping("/dept/listByIds")
|
|
|
+ public R<List<SysOrg>> listByIds(List<Long> ids, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
|
|
+
|
|
|
+ @GetMapping("/dept/findListByOrgType")
|
|
|
+ public R<List<Long>> findListByOrgType(Integer execOrgType, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
|
|
+
|
|
|
@PostMapping("/org/sync/batch")
|
|
|
R<Boolean> batchSaveSyncOrg(@RequestBody List<SysOrg> orgList, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
|
|
|