|
@@ -55,10 +55,10 @@ public class AdminDeptLogic {
|
|
|
|
|
|
public List<AdminDeptTree> tree(HttpServletRequest request) {
|
|
|
|
|
|
- AdminUserCom adminUser = commonLogic.getAdminUser(request);
|
|
|
+
|
|
|
|
|
|
List<AdminDept> list = adminDeptService.lambdaQuery()
|
|
|
- .eq(AdminDept::getAdminDeptId,adminUser.getAdminDept().getAdminDeptId())
|
|
|
+ .eq(AdminDept::getAdminDeptId,"1")
|
|
|
.list();
|
|
|
List<AdminDeptTree> trees = new ArrayList<>();
|
|
|
for(AdminDept adminDept : list){
|