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
64cf7b57
Commit
64cf7b57
authored
Nov 22, 2023
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改报警列表bug
parent
ac9c55f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
TdHygfJpInverterWarnMapper.java
...e/hygf/api/tdenginemapper/TdHygfJpInverterWarnMapper.java
+2
-2
TdHygfJpInverterWarnMapper.xml
.../resources/mapper/tdengine/TdHygfJpInverterWarnMapper.xml
+6
-6
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/tdenginemapper/TdHygfJpInverterWarnMapper.java
View file @
64cf7b57
...
...
@@ -26,7 +26,7 @@ public interface TdHygfJpInverterWarnMapper extends BaseMapper<TdHygfJpInverterW
TdHygfJpInverterWarnDto
getByTime
(
@Param
(
"createdTime"
)
long
createdTime
);
List
<
TdHygfJpInverterWarnDto
>
selectWarnList
(
String
state
,
String
level
,
String
min
V
alue
,
String
maxValue
,
String
snCode
,
List
<
String
>
stationId
,
String
startTime
,
String
endTime
,
String
content
,
Integer
current
,
Integer
size
);
List
<
TdHygfJpInverterWarnDto
>
selectWarnList
(
String
state
,
String
level
,
String
min
v
alue
,
String
maxValue
,
String
snCode
,
List
<
String
>
stationId
,
String
startTime
,
String
endTime
,
String
content
,
Integer
current
,
Integer
size
);
int
selectWarnListTotal
(
String
state
,
String
level
,
String
min
V
alue
,
String
maxValue
,
String
snCode
,
List
<
String
>
stationId
,
String
startTime
,
String
endTime
,
String
content
);
int
selectWarnListTotal
(
String
state
,
String
level
,
String
min
v
alue
,
String
maxValue
,
String
snCode
,
List
<
String
>
stationId
,
String
startTime
,
String
endTime
,
String
content
);
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/tdengine/TdHygfJpInverterWarnMapper.xml
View file @
64cf7b57
...
...
@@ -65,16 +65,16 @@
FROM house_pv_data.td_hygf_jp_inverter_warn
<where>
<if
test=
"state != null and state != ''"
>
AND
state
= #{state}
AND
`state`
= #{state}
</if>
<if
test=
"level != null and level != ''"
>
AND
level
= #{level}
AND
`level`
= #{level}
</if>
<if
test=
"min
Value != null and minV
alue != ''"
>
<if
test=
"min
value != null and minv
alue != ''"
>
time_long >= #{minvalue}
</if>
<if
test=
"maxValue != null and maxValue != ''"
>
AND time_long
[
<![CDATA[<=]]>
]
#{maxValue}
AND time_long
<![CDATA[<=]]>
#{maxValue}
</if>
<if
test=
"snCode != null and snCode != ''"
>
AND sn_code = #{snCode}
...
...
@@ -110,11 +110,11 @@
<if
test=
"level != null and level != ''"
>
AND level = #{level}
</if>
<if
test=
"min
Value != null and minV
alue != ''"
>
<if
test=
"min
value != null and minv
alue != ''"
>
time_long >= #{minvalue}
</if>
<if
test=
"maxValue != null and maxValue != ''"
>
AND time_long
[
<![CDATA[<=]]>
]
#{maxValue}
AND time_long
<![CDATA[<=]]>
#{maxValue}
</if>
<if
test=
"snCode != null and snCode != ''"
>
AND sn_code = #{snCode}
...
...
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