|
|
|
|
@ -260,6 +260,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
|
c.health, |
|
|
|
|
c.fanSpeed, |
|
|
|
|
c.contWorkPeriod, |
|
|
|
|
c.brand, |
|
|
|
|
c.unhandledAlertCount, |
|
|
|
|
c.AlertCount |
|
|
|
|
FROM ( |
|
|
|
|
@ -280,6 +281,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
|
g.health, |
|
|
|
|
g.fan_speed AS fanSpeed, |
|
|
|
|
g.cont_work_period AS contWorkPeriod, |
|
|
|
|
b.brand, |
|
|
|
|
(SELECT COUNT(1) |
|
|
|
|
FROM alert_message a |
|
|
|
|
WHERE a.equ_id = b.id AND a.status = 'UNHANDLED') AS unhandledAlertCount, |
|
|
|
|
@ -352,6 +354,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
|
b.equ_type as equTypeId, |
|
|
|
|
t.name as equTypeName, |
|
|
|
|
b.status, |
|
|
|
|
b.brand, |
|
|
|
|
|
|
|
|
|
b.manufacture as equManuId, |
|
|
|
|
m.name as equManuName, |
|
|
|
|
|