|
@@ -636,7 +636,7 @@ public class DeviceInfoServiceImpl extends ServiceImpl<DeviceInfoMapper, DeviceI
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
private List<DeviceInfo> getDevicesByMercId(Long mercId) {
|
|
private List<DeviceInfo> getDevicesByMercId(Long mercId) {
|
|
- return list(Wrappers.<DeviceInfo>lambdaQuery().eq(DeviceInfo::getMercId, mercId));
|
|
|
|
|
|
+ return list(Wrappers.<DeviceInfo>lambdaQuery().eq(DeviceInfo::getMercId, mercId).eq(DeviceInfo::getActiveState, DeviceActiveStateEnum.TRUE.getCode()));
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|