1、修改部署统计,不包含维护状态的,仅包含使用的
This commit is contained in:
parent
93250718a9
commit
f126a0b97a
@ -22,11 +22,11 @@ public interface GnssStatusMapper extends MPJBaseMapper<GnssStatus> {
|
|||||||
List<GnssStatusJoin> queryOnline();
|
List<GnssStatusJoin> queryOnline();
|
||||||
|
|
||||||
@Select({"select s.*, d.devicetype, d.group_id, d.name from gnssstatus s ,gnssdevices d where " +
|
@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();
|
List<GnssStatusJoin> queryDeployed();
|
||||||
|
|
||||||
@Select({"select s.*, d.devicetype, d.group_id, d.name from gnssstatus s ,gnssdevices d where " +
|
@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);
|
List<GnssStatusJoin> queryDeployedByTenant(int tenantid);
|
||||||
|
|
||||||
// 需要关联设备类型
|
// 需要关联设备类型
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user