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
c8cfba5f
Commit
c8cfba5f
authored
Mar 07, 2024
by
tangwei
Browse files
Options
Browse Files
Download
Plain Diff
解决冲突
parents
39a6fc28
4a5dc1a5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
KafkaAnalyseController.java
...t/module/jxiop/biz/controller/KafkaAnalyseController.java
+3
-2
WarningRecordStatusMessage.java
...oot/module/jxiop/biz/emqx/WarningRecordStatusMessage.java
+1
-2
IPermissionServiceImpl.java
...module/jxiop/biz/service/impl/IPermissionServiceImpl.java
+1
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/KafkaAnalyseController.java
View file @
c8cfba5f
...
...
@@ -380,13 +380,14 @@ public class KafkaAnalyseController {
if
(
rootNodeName
.
equals
(
"all"
))
{
return
fullViewRecallInfoDTOS
;
}
else
{
List
<
FullViewRecallInfoDTO
>
fullViewRecallInfoDTOS1
=
fullViewRecallInfoDTOS
.
get
(
0
).
getChildren
().
stream
().
filter
(
item
->
item
.
getName
().
equals
(
rootNodeName
)).
collect
(
Collectors
.
toList
());
List
<
String
>
stringList
=
Arrays
.
asList
(
rootNodeName
,
rootNodeName
.
replace
(
"片区"
,
"区域"
),
rootNodeName
.
replace
(
"区域"
,
"片区"
),
rootNodeName
.
replace
(
"电站"
,
"电场"
),
rootNodeName
.
replace
(
"电场"
,
"电站"
));
List
<
FullViewRecallInfoDTO
>
fullViewRecallInfoDTOS1
=
fullViewRecallInfoDTOS
.
get
(
0
).
getChildren
().
stream
().
filter
(
item
->
stringList
.
contains
(
item
.
getName
())).
collect
(
Collectors
.
toList
());
if
(
fullViewRecallInfoDTOS1
.
size
()
>
0
)
{
return
fullViewRecallInfoDTOS1
;
}
else
{
List
<
FullViewRecallInfoDTO
>
fullViewRecallInfoDTOS2
=
fullViewRecallInfoDTOS
.
get
(
0
).
getChildren
();
for
(
FullViewRecallInfoDTO
fullViewRecallInfoDTO
:
fullViewRecallInfoDTOS2
)
{
List
<
FullViewRecallInfoDTO
>
fullViewRecallInfoDTOS3
=
fullViewRecallInfoDTO
.
getChildren
().
stream
().
filter
(
item
->
item
.
getName
().
equals
(
rootNodeName
)).
collect
(
Collectors
.
toList
());
List
<
FullViewRecallInfoDTO
>
fullViewRecallInfoDTOS3
=
fullViewRecallInfoDTO
.
getChildren
().
stream
().
filter
(
item
->
stringList
.
contains
(
item
.
getName
()
)).
collect
(
Collectors
.
toList
());
if
(
fullViewRecallInfoDTOS3
.
size
()>
0
){
return
fullViewRecallInfoDTOS3
;
}
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/emqx/WarningRecordStatusMessage.java
View file @
c8cfba5f
...
...
@@ -32,8 +32,7 @@ public class WarningRecordStatusMessage extends EmqxListener {
/**
* 预警状态修改消息 - 标准化
*/
// public static final String WARNING_CHANGE_MESSAGE = "+/warning/change";
public
static
final
String
WARNING_CHANGE_MESSAGE
=
"warningchangetest"
;
public
static
final
String
WARNING_CHANGE_MESSAGE
=
"+/warning/change"
;
@Autowired
protected
EmqKeeper
emqKeeper
;
@Autowired
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/IPermissionServiceImpl.java
View file @
c8cfba5f
...
...
@@ -106,7 +106,7 @@ public class IPermissionServiceImpl implements IPermissionService {
String
userId
=
reginParams
.
getUserModel
().
getUserId
();
StdUserEmpower
stdUserEmpower
=
userEmpowerMapper
.
selectOne
(
new
QueryWrapper
<
StdUserEmpower
>().
eq
(
"amos_user_id"
,
userId
).
eq
(
"permission_type"
,
"YTH"
));
if
(
ObjectUtils
.
isEmpty
(
stdUserEmpower
))
{
return
rootNodeName
;
return
rootNodeName
+
"_111"
;
}
else
{
String
permissionOrgCode
=
stdUserEmpower
.
getAmosOrgCode
().
get
(
0
);
Map
<
String
,
String
>
companyInfo
=
userEmpowerMapper
.
getCompanyInfoByOrgCode
(
permissionOrgCode
);
...
...
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