问题单修复
This commit is contained in:
@@ -49,7 +49,7 @@ public class TopMsgPO extends BaseEntity {
|
|||||||
/**
|
/**
|
||||||
* 数据完整性
|
* 数据完整性
|
||||||
*/
|
*/
|
||||||
private Integer integrityValue;
|
private Float integrityValue;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 告警次数
|
* 告警次数
|
||||||
|
|||||||
@@ -152,7 +152,7 @@ public class OperationContrController extends BaseController {
|
|||||||
|
|
||||||
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
|
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
|
||||||
@PostMapping("/getDailyDeviceAbnormal")
|
@PostMapping("/getDailyDeviceAbnormal")
|
||||||
@ApiOperation("获取终端异常")
|
@ApiOperation("获取终端异常详情列表")
|
||||||
@ApiImplicitParam(name = "conditionBusinessParam", value = "实体", required = true)
|
@ApiImplicitParam(name = "conditionBusinessParam", value = "实体", required = true)
|
||||||
public HttpResult<List<TopMsgPO>> dailyDeviceAbnormal(@RequestBody DeviceInfoParam.BusinessParam conditionBusinessParam) {
|
public HttpResult<List<TopMsgPO>> dailyDeviceAbnormal(@RequestBody DeviceInfoParam.BusinessParam conditionBusinessParam) {
|
||||||
String methodDescribe = getMethodDescribe("dailyDeviceAbnormal");
|
String methodDescribe = getMethodDescribe("dailyDeviceAbnormal");
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
AND pld.Line_Grade=#{lineGrade}
|
AND pld.Line_Grade=#{lineGrade}
|
||||||
</if>
|
</if>
|
||||||
GROUP BY ptm.Time_Id
|
GROUP BY ptm.Time_Id
|
||||||
|
ORDER BY ptm.Time_Id DESC
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="dailyDeviceAbnormal" resultType="com.njcn.device.pq.pojo.po.TopMsgPO">
|
<select id="dailyDeviceAbnormal" resultType="com.njcn.device.pq.pojo.po.TopMsgPO">
|
||||||
@@ -27,15 +28,15 @@
|
|||||||
city.Name AS cityName,
|
city.Name AS cityName,
|
||||||
sub.Name AS subName,
|
sub.Name AS subName,
|
||||||
device.Name AS deviceName,
|
device.Name AS deviceName,
|
||||||
ptm.Integrity_Value AS integrityValue,
|
CAST(ptm.Integrity_Value as DECIMAL(13,2)) AS integrityValue,
|
||||||
ptm.Integrity_Flag AS integrityFlag,
|
ptm.Integrity_Flag AS integrityFlag,
|
||||||
ptm.Comout_Count AS comOutCount,
|
ptm.Comout_Count AS comOutCount,
|
||||||
ptm.Comout_Desc AS comOutDesc,
|
ptm.Comout_Desc AS comOutDesc,
|
||||||
ptm.Alarm_Count AS alarmCount,
|
ptm.Alarm_Count AS alarmCount,
|
||||||
ptm.Alarm_Desc AS alarmDesc,
|
ptm.Alarm_Desc AS alarmDesc,
|
||||||
ptm.Flow_Value AS flowValue,
|
CAST(ptm.Flow_Value as DECIMAL(13,2)) AS flowValue,
|
||||||
ptm.OnlineRate_Flag AS onlineRateFlag,
|
ptm.OnlineRate_Flag AS onlineRateFlag,
|
||||||
ptm.OnlineRate_Value AS onlineRateValue
|
CAST(ptm.OnlineRate_Value as DECIMAL(13,2)) AS onlineRateValue
|
||||||
FROM pq_line line
|
FROM pq_line line
|
||||||
INNER JOIN pq_line vol ON line.pid=vol.id
|
INNER JOIN pq_line vol ON line.pid=vol.id
|
||||||
INNER JOIN pq_line device ON vol.pid=device.id
|
INNER JOIN pq_line device ON vol.pid=device.id
|
||||||
|
|||||||
Reference in New Issue
Block a user