From aeee74f4d8bcd7d0de8b76aff3c044b0baeaf6df Mon Sep 17 00:00:00 2001
From: aijinhui <aijinhui>
Date: 星期一, 30 十月 2023 15:14:04 +0800
Subject: [PATCH] app任务管理组织架构
---
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysRoleController.java | 3 +++
ard-work/src/main/java/com/ruoyi/app/task/controller/ArdAppTaskController.java | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/ard-work/src/main/java/com/ruoyi/app/task/controller/ArdAppTaskController.java b/ard-work/src/main/java/com/ruoyi/app/task/controller/ArdAppTaskController.java
index 5c7a168..c7d000d 100644
--- a/ard-work/src/main/java/com/ruoyi/app/task/controller/ArdAppTaskController.java
+++ b/ard-work/src/main/java/com/ruoyi/app/task/controller/ArdAppTaskController.java
@@ -208,7 +208,7 @@
deptUserTree1.setDeptId(user.getDeptId());
deptUserTree1.setUserId(user.getUserId());
deptUserTree1.setNickName(user.getNickName());
- deptUserTree1.setParentId(sysDept.getParentId());
+ deptUserTree1.setParentId(user.getDeptId());
deptUserTrees.add(deptUserTree1);
}
}
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysRoleController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysRoleController.java
index ba6ecc1..9a2ecd6 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysRoleController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysRoleController.java
@@ -2,6 +2,8 @@
import java.util.List;
import javax.servlet.http.HttpServletResponse;
+
+import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.validation.annotation.Validated;
@@ -39,6 +41,7 @@
*/
@RestController
@RequestMapping("/system/role")
+@Api(tags = "瑙掕壊淇℃伅")
public class SysRoleController extends BaseController
{
@Autowired
--
Gitblit v1.9.3