|
@@ -93,8 +93,14 @@ public class SysDeptController extends BaseLogController{
|
|
return ResultData.ok();
|
|
return ResultData.ok();
|
|
}
|
|
}
|
|
|
|
|
|
- @PostMapping("/allList")
|
|
|
|
|
|
+ @PostMapping("/allListLog")
|
|
@SysLog(logType = "組織架構",value = "查看組織架構")
|
|
@SysLog(logType = "組織架構",value = "查看組織架構")
|
|
|
|
+ public ResultData allListLog(){
|
|
|
|
+ List<DeptVo> depts = deptService.getListByType(1,getToken());
|
|
|
|
+ return ResultData.ok(Arrays.asList(depts));
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @PostMapping("/allList")
|
|
public ResultData list(){
|
|
public ResultData list(){
|
|
List<DeptVo> depts = deptService.getListByType(1,getToken());
|
|
List<DeptVo> depts = deptService.getListByType(1,getToken());
|
|
return ResultData.ok(Arrays.asList(depts));
|
|
return ResultData.ok(Arrays.asList(depts));
|