Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
27a8b0de
Commit
27a8b0de
authored
Jun 25, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经销商管理员置换bug
parent
ec8906db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
UnitInfoController.java
...s/boot/module/hygf/biz/controller/UnitInfoController.java
+18
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/UnitInfoController.java
View file @
27a8b0de
...
...
@@ -610,6 +610,24 @@ public class UnitInfoController extends BaseController {
return
ResponseHelper
.
buildResponse
(
chil
);
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/getGroupTreeAll"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"经销商用户组全部"
,
notes
=
"经销商用户组全部"
)
public
ResponseModel
<
Collection
<
GroupModel
>>
getGroupTreeAll
()
{
FeignClientResult
<
Collection
<
GroupModel
>>
feignClientResult
=
Privilege
.
groupClient
.
selectForList
(
group
,
null
);
Collection
<
GroupModel
>
children
=
feignClientResult
.
getResult
();
Collection
<
GroupModel
>
chil
=
new
ArrayList
<>();
for
(
GroupModel
child
:
children
)
{
if
(
"用户光伏-农户"
.
equals
(
child
.
getGroupName
())){
//排除其余角色
}
else
{
chil
.
add
(
child
);
}
}
return
ResponseHelper
.
buildResponse
(
chil
);
}
//根据角色获取区域公司
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment