Merge remote-tracking branch 'origin/master'
正在显示
6 个修改的文件
包含
25 行增加
和
10 行删除
... | @@ -255,8 +255,8 @@ | ... | @@ -255,8 +255,8 @@ |
255 | sys_monitor_metric_info m | 255 | sys_monitor_metric_info m |
256 | WHERE | 256 | WHERE |
257 | m.metric_uid_tag IN ( | 257 | m.metric_uid_tag IN ( |
258 | 'CSAD','CSCOD','CSLJLL','CSLL','CSPH','CSSS','CSTN','CSZL', | 258 | 'CSNH3N','CSCOD','CSLJLL','CSLL','CSPH','CSSS','CSTN','CSTP', |
259 | 'JSAD','JSCOD','JSLJLL','JSLL','JSPH','JSSS','JSZD','JSZL' | 259 | 'JSNH3N','JSCOD','JSLJLL','JSLL','JSPH','JSSS','JSTN','JSTP' |
260 | ) | 260 | ) |
261 | </select> | 261 | </select> |
262 | </mapper> | 262 | </mapper> | ... | ... |
... | @@ -2,6 +2,7 @@ package com.skua.modules.dataAnalysis.controller; | ... | @@ -2,6 +2,7 @@ package com.skua.modules.dataAnalysis.controller; |
2 | 2 | ||
3 | import com.skua.core.api.vo.Result; | 3 | import com.skua.core.api.vo.Result; |
4 | import com.skua.core.context.BaseContextHandler; | 4 | import com.skua.core.context.BaseContextHandler; |
5 | import com.skua.core.util.ConvertUtils; | ||
5 | import com.skua.modules.common.service.ICommonSqlService; | 6 | import com.skua.modules.common.service.ICommonSqlService; |
6 | import com.skua.modules.dataAnalysis.service.IFactoryCenterService; | 7 | import com.skua.modules.dataAnalysis.service.IFactoryCenterService; |
7 | import com.skua.modules.dataAnalysis.vo.StatisticsParam; | 8 | import com.skua.modules.dataAnalysis.vo.StatisticsParam; |
... | @@ -194,7 +195,7 @@ public class FactoryCenterController { | ... | @@ -194,7 +195,7 @@ public class FactoryCenterController { |
194 | List<WaterQualityMonitoringDetailVO> list = new ArrayList<>(); | 195 | List<WaterQualityMonitoringDetailVO> list = new ArrayList<>(); |
195 | WaterQualityMonitoringVO res = new WaterQualityMonitoringVO(); | 196 | WaterQualityMonitoringVO res = new WaterQualityMonitoringVO(); |
196 | String departIds = ""; | 197 | String departIds = ""; |
197 | if(waterQualityParams.getDepartId()!=null){ | 198 | if(ConvertUtils.isNotEmpty(waterQualityParams.getDepartId())){ |
198 | departIds = commonSqlService.getChildFactorys(waterQualityParams.getDepartId()); | 199 | departIds = commonSqlService.getChildFactorys(waterQualityParams.getDepartId()); |
199 | }else{ | 200 | }else{ |
200 | departIds = commonSqlService.getChildFactorys(BaseContextHandler.getRealDepartId()); | 201 | departIds = commonSqlService.getChildFactorys(BaseContextHandler.getRealDepartId()); | ... | ... |
此文件的差异被折叠,
点击展开。
... | @@ -20,4 +20,14 @@ public class StatisticsParam { | ... | @@ -20,4 +20,14 @@ public class StatisticsParam { |
20 | /**结束时间*/ | 20 | /**结束时间*/ |
21 | @ApiModelProperty(value = "结束时间") | 21 | @ApiModelProperty(value = "结束时间") |
22 | private String endDate; | 22 | private String endDate; |
23 | /**进出水类型*/ | ||
24 | @ApiModelProperty(value = "进出水类型") | ||
25 | private String parmType; | ||
26 | /**数据类型*/ | ||
27 | @ApiModelProperty(value = "数据类型") | ||
28 | private String statics; | ||
29 | /**数据标签*/ | ||
30 | @ApiModelProperty(value = "数据标签") | ||
31 | private String tag; | ||
32 | |||
23 | } | 33 | } | ... | ... |
... | @@ -42,11 +42,11 @@ public class WaterQualityMonitoringDetailVO { | ... | @@ -42,11 +42,11 @@ public class WaterQualityMonitoringDetailVO { |
42 | @ApiModelProperty(value = "监测时间") | 42 | @ApiModelProperty(value = "监测时间") |
43 | private String monitorTime; | 43 | private String monitorTime; |
44 | 44 | ||
45 | // @ApiModelProperty(value = "流量") | 45 | @ApiModelProperty(value = "流量") |
46 | // private String flowVal; | 46 | private String flowVal; |
47 | // private String flowUpper; | 47 | private String flowUpper; |
48 | // private String flowLower; | 48 | private String flowLower; |
49 | // private String flowAbnormal; | 49 | private String flowAbnormal; |
50 | 50 | ||
51 | @ApiModelProperty(value = "cod") | 51 | @ApiModelProperty(value = "cod") |
52 | private String codVal; | 52 | private String codVal; |
... | @@ -90,8 +90,8 @@ public class WaterQualityMonitoringDetailVO { | ... | @@ -90,8 +90,8 @@ public class WaterQualityMonitoringDetailVO { |
90 | @ApiModelProperty(value = "浊度") | 90 | @ApiModelProperty(value = "浊度") |
91 | private String zdVal; | 91 | private String zdVal; |
92 | 92 | ||
93 | @ApiModelProperty(value = "瞬时流量") | 93 | // @ApiModelProperty(value = "瞬时流量") |
94 | private String ssllVal; | 94 | // private String ssllVal; |
95 | @ApiModelProperty(value = "累计流量") | 95 | @ApiModelProperty(value = "累计流量") |
96 | private String ljllVal; | 96 | private String ljllVal; |
97 | 97 | ... | ... |
... | @@ -19,4 +19,8 @@ public class WaterQualityParams { | ... | @@ -19,4 +19,8 @@ public class WaterQualityParams { |
19 | @ApiModelProperty(value = "进出水类型") | 19 | @ApiModelProperty(value = "进出水类型") |
20 | private String parmType; | 20 | private String parmType; |
21 | 21 | ||
22 | //数据类型 | ||
23 | @ApiModelProperty(value = "数据类型 all/access/online/normal/abnormal") | ||
24 | private String dataType; | ||
25 | |||
22 | } | 26 | } | ... | ... |
-
请 注册 或 登录 后发表评论