Commit 909d27d0 authored by wujiang's avatar wujiang

修改预警排序

parent 47e12325
......@@ -741,7 +741,7 @@ public class HealthStatusIndicatorServiceImpl {
wrapper.orderByAsc(PvHealthIndexHour::getTs);
List<PvHealthIndexHour> healthIndices = pvHealthIndexHourMapper.selectList(wrapper);
List<String> collect = healthIndices.stream().map(PvHealthIndexHour::getAnalysisObjSeq).collect(Collectors.toList());
if (null == healthIndices) {
if (null == healthIndices||collect==null||collect.isEmpty()) {
return;
}
LambdaQueryWrapper<IdxBizPvWarningRuleSet> queryWrapper = new LambdaQueryWrapper<>();
......
......@@ -198,3 +198,7 @@ base.url.GKHF=http://139.9.171.247:8052/intelligent-analysis/working-condition-d
base.url.ZXZ=http://139.9.171.247:8052/intelligent-analysis/central-value
#ָ���������㷨����
base.url.zsfx:http://139.9.171.247:8052/intelligent-analysis/index-analysis
forecast.url=
logic=
\ No newline at end of file
......@@ -2,7 +2,7 @@ spring.application.name=AMOS-JXIOP-ANALYSE-CZ
server.servlet.context-path=/jxiop-analyse
server.port=33400
server.uri-encoding=UTF-8
spring.profiles.active=kingbase8
spring.profiles.active=dev1
spring.jackson.time-zone=GMT+8
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
logging.config=classpath:logback-${spring.profiles.active}.xml
......@@ -90,4 +90,4 @@ healthValue_HourCount=6
healthValue_MinCount=5
##是否打开健康计算计算 true 打开 false 关闭
openHealth = true
\ No newline at end of file
openHealth = false
\ No newline at end of file
......@@ -160,7 +160,7 @@
</if>
</where>
ORDER BY
log.REC_DATE DESC
log.CREATE_DATE DESC
LIMIT #{start}, #{size}
</select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment