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
681be3b4
Commit
681be3b4
authored
Nov 08, 2023
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
td相关 - 预警光伏和风电 详情页面修改
parent
296dae06
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
19 deletions
+43
-19
AlarmInfoDetailServiceImpl.java
...le/jxiop/biz/service/impl/AlarmInfoDetailServiceImpl.java
+29
-17
FanWaringRecordMapper.java
...oot/module/jxiop/biz/tdMapper2/FanWaringRecordMapper.java
+2
-0
PvWaringRecordMapper.java
...boot/module/jxiop/biz/tdMapper2/PvWaringRecordMapper.java
+2
-0
FanWarningRecord.xml
.../src/main/resources/mapper/tdengine2/FanWarningRecord.xml
+4
-0
PvWarningRecord.xml
...z/src/main/resources/mapper/tdengine2/PvWarningRecord.xml
+6
-2
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/AlarmInfoDetailServiceImpl.java
View file @
681be3b4
This diff is collapsed.
Click to expand it.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/tdMapper2/FanWaringRecordMapper.java
View file @
681be3b4
...
@@ -30,4 +30,6 @@ public interface FanWaringRecordMapper extends BaseMapper<FanWarningRecord> {
...
@@ -30,4 +30,6 @@ public interface FanWaringRecordMapper extends BaseMapper<FanWarningRecord> {
Integer
getInfoByPageTotal
(
@Param
(
"dto"
)
FanHealthIndexDto
dto
);
Integer
getInfoByPageTotal
(
@Param
(
"dto"
)
FanHealthIndexDto
dto
);
FanWarningRecord
getInfoByTs
(
@Param
(
"ts"
)
Long
ts
);
}
}
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/tdMapper2/PvWaringRecordMapper.java
View file @
681be3b4
...
@@ -25,4 +25,6 @@ public interface PvWaringRecordMapper extends BaseMapper<PvWarningRecord> {
...
@@ -25,4 +25,6 @@ public interface PvWaringRecordMapper extends BaseMapper<PvWarningRecord> {
List
<
PvWarningRecord
>
getInfoByPage
(
@Param
(
"dto"
)
FanHealthIndexDto
dto
);
List
<
PvWarningRecord
>
getInfoByPage
(
@Param
(
"dto"
)
FanHealthIndexDto
dto
);
Integer
getInfoByPageTotal
(
@Param
(
"dto"
)
FanHealthIndexDto
dto
);
Integer
getInfoByPageTotal
(
@Param
(
"dto"
)
FanHealthIndexDto
dto
);
PvWarningRecord
getInfoByTs
(
@Param
(
"ts"
)
Long
ts
);
}
}
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/resources/mapper/tdengine2/FanWarningRecord.xml
View file @
681be3b4
...
@@ -211,4 +211,8 @@
...
@@ -211,4 +211,8 @@
<if
test=
"dto.startDate!= null and dto.startDate!= ''"
>
and ts
>
= #{dto.startDate}
</if>
<if
test=
"dto.startDate!= null and dto.startDate!= ''"
>
and ts
>
= #{dto.startDate}
</if>
</where>
</where>
</select>
</select>
<select
id=
"getInfoByTs"
resultType=
"com.yeejoin.amos.boot.module.jxiop.biz.tdengine.FanWarningRecord"
>
select * from analysis_data.fan_warning_record where ts = #{ts,jdbcType=TIMESTAMP} limit 1
</select>
</mapper>
</mapper>
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/resources/mapper/tdengine2/PvWarningRecord.xml
View file @
681be3b4
...
@@ -195,7 +195,7 @@
...
@@ -195,7 +195,7 @@
</select>
</select>
<select
id=
"getInfoByPage"
resultType=
"com.yeejoin.amos.boot.module.jxiop.biz.tdengine.PvWarningRecord"
>
<select
id=
"getInfoByPage"
resultType=
"com.yeejoin.amos.boot.module.jxiop.biz.tdengine.PvWarningRecord"
>
SELECT * FROM
fan
_warning_record
SELECT * FROM
pv
_warning_record
<where>
<where>
<if
test=
"dto.area!= null and dto.area!= ''"
>
AND arae = #{dto.area}
</if>
<if
test=
"dto.area!= null and dto.area!= ''"
>
AND arae = #{dto.area}
</if>
<if
test=
"dto.station!= null and dto.station!= ''"
>
AND station = #{dto.station}
</if>
<if
test=
"dto.station!= null and dto.station!= ''"
>
AND station = #{dto.station}
</if>
...
@@ -214,7 +214,7 @@
...
@@ -214,7 +214,7 @@
</select>
</select>
<select
id=
"getInfoByPageTotal"
resultType=
"java.lang.Integer"
>
<select
id=
"getInfoByPageTotal"
resultType=
"java.lang.Integer"
>
SELECT count(1) FROM
fan
_warning_record
SELECT count(1) FROM
pv
_warning_record
<where>
<where>
<if
test=
"dto.area!= null and dto.area!= ''"
>
AND arae = #{dto.area}
</if>
<if
test=
"dto.area!= null and dto.area!= ''"
>
AND arae = #{dto.area}
</if>
<if
test=
"dto.station!= null and dto.station!= ''"
>
AND station = #{dto.station}
</if>
<if
test=
"dto.station!= null and dto.station!= ''"
>
AND station = #{dto.station}
</if>
...
@@ -227,4 +227,8 @@
...
@@ -227,4 +227,8 @@
<if
test=
"dto.startDate!= null and dto.startDate!= ''"
>
and ts
>
= #{dto.startDate}
</if>
<if
test=
"dto.startDate!= null and dto.startDate!= ''"
>
and ts
>
= #{dto.startDate}
</if>
</where>
</where>
</select>
</select>
<select
id=
"getInfoByTs"
resultType=
"com.yeejoin.amos.boot.module.jxiop.biz.tdengine.PvWarningRecord"
>
select * from analysis_data.pv_warning_record where ts = #{ts,jdbcType=TIMESTAMP} limit 1
</select>
</mapper>
</mapper>
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