fix (farm): 微信端设备统计接口

-
This commit is contained in:
达富斌
2025-10-15 23:02:41 +08:00
parent 3c99067ef1
commit 4dfba260d7

View File

@@ -374,7 +374,8 @@ public class DeviceInfoServiceImpl implements DeviceInfoService {
public List<DeviceStatisticsInfoRespVO> getDeviceStatisticsList(String baseId) {
LambdaQueryWrapperX<DeviceInfoDO> wrapperX = new LambdaQueryWrapperX<>();
wrapperX.eq(DeviceInfoDO::getBaseId, baseId);
wrapperX.eqIfPresent(DeviceInfoDO::getBaseId, baseId);
wrapperX.eq(DeviceInfoDO::getTenantId, String.valueOf(getLoginUser().getTenantId()));
wrapperX.eq(DeviceInfoDO::getDeleted, CommonConstants.NO_CODE);
List<DeviceInfoDO> doList = deviceInfoMapper.selectList(wrapperX);