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