fix (farm): 微信端设备统计接口
-
This commit is contained in:
@@ -374,7 +374,8 @@ public class DeviceInfoServiceImpl implements DeviceInfoService {
|
|||||||
public List<DeviceStatisticsInfoRespVO> getDeviceStatisticsList(String baseId) {
|
public List<DeviceStatisticsInfoRespVO> getDeviceStatisticsList(String baseId) {
|
||||||
|
|
||||||
LambdaQueryWrapperX<DeviceInfoDO> wrapperX = new LambdaQueryWrapperX<>();
|
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);
|
wrapperX.eq(DeviceInfoDO::getDeleted, CommonConstants.NO_CODE);
|
||||||
|
|
||||||
List<DeviceInfoDO> doList = deviceInfoMapper.selectList(wrapperX);
|
List<DeviceInfoDO> doList = deviceInfoMapper.selectList(wrapperX);
|
||||||
|
|||||||
Reference in New Issue
Block a user