1、修改部署统计,不包含维护状态的,仅包含使用的

This commit is contained in:
weidong 2024-05-17 10:56:30 +08:00
parent 93250718a9
commit f126a0b97a

View File

@ -22,11 +22,11 @@ public interface GnssStatusMapper extends MPJBaseMapper<GnssStatus> {
List<GnssStatusJoin> queryOnline();
@Select({"select s.*, d.devicetype, d.group_id, d.name from gnssstatus s ,gnssdevices d where " +
"s.deviceid=d.deviceid and d.tenantid<>0 and d.opmode<>2"})
"s.deviceid=d.deviceid and d.tenantid<>0 and d.opmode=0"})
List<GnssStatusJoin> queryDeployed();
@Select({"select s.*, d.devicetype, d.group_id, d.name from gnssstatus s ,gnssdevices d where " +
"s.deviceid=d.deviceid and d.tenantid = #{tenantid} and d.opmode<>2"})
"s.deviceid=d.deviceid and d.tenantid = #{tenantid} and d.opmode=0"})
List<GnssStatusJoin> queryDeployedByTenant(int tenantid);
// 需要关联设备类型