Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
96cef7a5
Commit
96cef7a5
authored
May 31, 2024
by
wujiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改分析bug
parent
7c7fc89d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
application.properties
...iop-analyse-biz/src/main/resources/application.properties
+1
-1
IdxBizPvPointVarCorrelationMapper.xml
...rces/mapper/cluster/IdxBizPvPointVarCorrelationMapper.xml
+2
-2
PvHealthIndex.xml
...biz/src/main/resources/mapper/tdengine2/PvHealthIndex.xml
+5
-5
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/resources/application.properties
View file @
96cef7a5
spring.application.name
=
AMOS-JXIOP-ANALYSE
spring.application.name
=
AMOS-JXIOP-ANALYSE
-WJ
server.servlet.context-path
=
/jxiop-analyse
server.servlet.context-path
=
/jxiop-analyse
server.port
=
33400
server.port
=
33400
server.uri-encoding
=
UTF-8
server.uri-encoding
=
UTF-8
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/resources/mapper/cluster/IdxBizPvPointVarCorrelationMapper.xml
View file @
96cef7a5
...
@@ -6,10 +6,10 @@
...
@@ -6,10 +6,10 @@
update idx_biz_pv_point_var_correlation
update idx_biz_pv_point_var_correlation
<set>
<set>
<if
test=
"processPointIds == null || processPointIds.size() == 0"
>
<if
test=
"processPointIds == null || processPointIds.size() == 0"
>
MATCH_PROCESS_PO
NI
T = null
MATCH_PROCESS_PO
IN
T = null
</if>
</if>
<if
test=
"processPointIds != null and processPointIds.size() > 0"
>
<if
test=
"processPointIds != null and processPointIds.size() > 0"
>
MATCH_PROCESS_PO
NI
T = '匹配'
MATCH_PROCESS_PO
IN
T = '匹配'
</if>
</if>
</set>
</set>
WHERE ANALYSIS_GATEWAY_ID = #{gatewayId}
WHERE ANALYSIS_GATEWAY_ID = #{gatewayId}
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/resources/mapper/tdengine2/PvHealthIndex.xml
View file @
96cef7a5
...
@@ -205,8 +205,8 @@
...
@@ -205,8 +205,8 @@
<if
test=
"dto.analysisType!= null and dto.analysisType!= ''"
>
and analysis_type = #{dto.analysisType}
</if>
<if
test=
"dto.analysisType!= null and dto.analysisType!= ''"
>
and analysis_type = #{dto.analysisType}
</if>
<if
test=
"dto.endDate!= null and dto.endDate!= ''"
>
and ts
<
= #{dto.endDate}
</if>
<if
test=
"dto.endDate!= null and dto.endDate!= ''"
>
and ts
<
= #{dto.endDate}
</if>
<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>
<if
test=
"dto.area!= null and dto.area!= ''"
>
AND area = #{area}
</if>
<if
test=
"dto.area!= null and dto.area!= ''"
>
AND area = #{
dto.
area}
</if>
<if
test=
"dto.subarray!= null and dto.subarray!= ''"
>
AND
`subarray`
= #{dto.subarray}
</if>
<if
test=
"dto.subarray!= null and dto.subarray!= ''"
>
AND
subarray
= #{dto.subarray}
</if>
<if
test=
"dto.pointName!= null and dto.pointName!= ''"
>
AND point_name = #{dto.pointName}
</if>
<if
test=
"dto.pointName!= null and dto.pointName!= ''"
>
AND point_name = #{dto.pointName}
</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>
<if
test=
"dto.healthLevel!= null and dto.healthLevel!= ''"
>
AND health_level = #{dto.healthLevel}
</if>
<if
test=
"dto.healthLevel!= null and dto.healthLevel!= ''"
>
AND health_level = #{dto.healthLevel}
</if>
...
@@ -227,14 +227,14 @@
...
@@ -227,14 +227,14 @@
</select>
</select>
<select
id=
"getInfoByPageTotal"
resultType=
"java.lang.Integer"
>
<select
id=
"getInfoByPageTotal"
resultType=
"java.lang.Integer"
>
SELECT count(1) FROM
fan
_health_index_data
SELECT count(1) FROM
pv
_health_index_data
<where>
<where>
<if
test=
"dto.analysisObjType!= null and dto.analysisObjType!= ''"
>
analysis_obj_type = #{dto.analysisObjType}
</if>
<if
test=
"dto.analysisObjType!= null and dto.analysisObjType!= ''"
>
analysis_obj_type = #{dto.analysisObjType}
</if>
<if
test=
"dto.analysisType!= null and dto.analysisType!= ''"
>
and analysis_type = #{dto.analysisType}
</if>
<if
test=
"dto.analysisType!= null and dto.analysisType!= ''"
>
and analysis_type = #{dto.analysisType}
</if>
<if
test=
"dto.endDate!= null and dto.endDate!= ''"
>
and ts
<
= #{dto.endDate}
</if>
<if
test=
"dto.endDate!= null and dto.endDate!= ''"
>
and ts
<
= #{dto.endDate}
</if>
<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>
<if
test=
"dto.area!= null and dto.area!= ''"
>
AND area = #{area}
</if>
<if
test=
"dto.area!= null and dto.area!= ''"
>
AND area = #{
dto.
area}
</if>
<if
test=
"dto.subarray!= null and dto.subarray!= ''"
>
AND
`subarray`
= #{dto.subarray}
</if>
<if
test=
"dto.subarray!= null and dto.subarray!= ''"
>
AND
subarray
= #{dto.subarray}
</if>
<if
test=
"dto.pointName!= null and dto.pointName!= ''"
>
AND point_name = #{dto.pointName}
</if>
<if
test=
"dto.pointName!= null and dto.pointName!= ''"
>
AND point_name = #{dto.pointName}
</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>
<if
test=
"dto.healthLevel!= null and dto.healthLevel!= ''"
>
AND health_level = #{dto.healthLevel}
</if>
<if
test=
"dto.healthLevel!= null and dto.healthLevel!= ''"
>
AND health_level = #{dto.healthLevel}
</if>
...
...
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