Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
b590ce2b
Commit
b590ce2b
authored
Feb 23, 2024
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
运维评估权限接口修改
parent
437e365f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
YwpgModuleInfoServiceImpl.java
...ule/jxiop/biz/service/impl/YwpgModuleInfoServiceImpl.java
+9
-7
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/YwpgModuleInfoServiceImpl.java
View file @
b590ce2b
...
...
@@ -22,18 +22,20 @@ public class YwpgModuleInfoServiceImpl {
List
<
Map
<
String
,
Object
>>
result
=
new
ArrayList
<>();
String
orgCode
=
reginParams
.
getCompany
().
getOrgCode
();
if
(
ObjectUtils
.
isEmpty
(
orgCode
)){
return
result
;
orgCode
=
"86"
;
}
List
<
YwpgMoudleInfo
>
ywpgMoudleInfoList
=
ywpgMoudleInfoMapper
.
selectList
(
new
QueryWrapper
<
YwpgMoudleInfo
>().
isNotNull
(
"module_name"
).
isNotNull
(
"module_table_id"
));
//TODO 处理业务逻辑
Map
<
String
,
Object
>
item
=
new
HashMap
<>();
Map
<
String
,
Object
>
filters
=
new
HashMap
<>();
String
finalOrgCode
=
orgCode
;
ywpgMoudleInfoList
.
stream
().
forEach
(
ywpgMoudleInfo
->
{
Map
<
String
,
Object
>
item
=
new
HashMap
<>();
Map
<
String
,
Object
>
filtersItem
=
new
HashMap
<>();
item
.
put
(
"name"
,
ywpgMoudleInfo
.
getModuleName
());
item
.
put
(
"tableId"
,
ywpgMoudleInfo
.
getModuleTableId
());
filters
.
put
(
"searchColumn"
,
"CODE"
);
filters
.
put
(
"condition"
,
"startsWith"
);
filters
.
put
(
"value"
,
orgCode
);
filtersItem
.
put
(
"searchColumn"
,
"CODE"
);
filtersItem
.
put
(
"condition"
,
"startsWith"
);
filtersItem
.
put
(
"value"
,
finalOrgCode
);
List
<
Map
<
String
,
Object
>>
filters
=
new
ArrayList
<>();
filters
.
add
(
filtersItem
);
item
.
put
(
"filters"
,
filters
);
result
.
add
(
item
);
});
...
...
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