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
a7804cc8
Commit
a7804cc8
authored
Mar 15, 2024
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
告警列表新增处理状态过滤
parent
a16bc182
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
TdHygfJpInverterWarnServiceImpl.java
...ygf/biz/service/impl/TdHygfJpInverterWarnServiceImpl.java
+11
-2
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/TdHygfJpInverterWarnServiceImpl.java
View file @
a7804cc8
...
...
@@ -68,7 +68,7 @@ public class TdHygfJpInverterWarnServiceImpl
}
List
<
TdHygfJpInverterWarnDto
>
list
=
new
ArrayList
<>();
if
(
tdHygfJpInverterWarnDto
.
getStationIds
().
isEmpty
())
{
list
=
this
.
baseMapper
.
list
(
tdHygfJpInverterWarnDto
);
}
else
{
list
=
this
.
baseMapper
.
list
(
tdHygfJpInverterWarnDto
);
...
...
@@ -140,7 +140,16 @@ public class TdHygfJpInverterWarnServiceImpl
}
public
List
<
TdHygfJpInverterWarnDto
>
selectWarnList
(
String
state
,
String
level
,
String
minvalue
,
String
maxValue
,
String
snCode
,
List
<
String
>
stationId
,
String
startTime
,
String
endTime
,
String
content
,
Integer
current
,
Integer
size
,
String
handlerStatus
){
return
this
.
getBaseMapper
().
selectWarnList
(
state
,
level
,
minvalue
,
maxValue
,
snCode
,
stationId
,
startTime
,
endTime
,
content
,(
current
-
1
)*
size
,
size
,
handlerStatus
);
List
<
TdHygfJpInverterWarnDto
>
list
=
this
.
getBaseMapper
().
selectWarnList
(
state
,
level
,
minvalue
,
maxValue
,
snCode
,
stationId
,
startTime
,
endTime
,
content
,(
current
-
1
)*
size
,
size
,
handlerStatus
);
list
.
forEach
(
i
->
{
JpStation
jpStation
=
jpStationServiceImpl
.
getOne
(
new
LambdaQueryWrapper
<
JpStation
>()
.
eq
(
JpStation:
:
getThirdStationId
,
i
.
getThirdStationId
()));
if
(
ObjectUtil
.
isNotNull
(
jpStation
)){
i
.
setAddress
(
jpStation
.
getAddress
());
i
.
setArea
(
jpStation
.
getArea
());
}
});
return
list
;
}
public
int
selectWarnListTotal
(
String
state
,
String
level
,
String
minvalue
,
String
maxValue
,
String
snCode
,
List
<
String
>
stationId
,
String
startTime
,
String
endTime
,
String
content
,
String
handlerStatus
){
return
this
.
getBaseMapper
().
selectWarnListTotal
(
state
,
level
,
minvalue
,
maxValue
,
snCode
,
stationId
,
startTime
,
endTime
,
content
,
handlerStatus
);
...
...
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