This commit is contained in:
zt
2025-12-02 15:59:06 +08:00
parent 7816fec7aa
commit 40559d4d73

View File

@ -99,7 +99,7 @@ public class DeviceInfoServiceImpl extends ServiceImpl<DeviceInfoMapper, DeviceI
LambdaQueryWrapper<DeviceInfo> lqw = Wrappers.lambdaQuery();
lqw.orderByDesc(DeviceInfo::getId);
lqw.eq(bo.getProjectId() != null, DeviceInfo::getProjectId, bo.getProjectId());
lqw.eq(StringUtils.isNotBlank(bo.getDeviceCode()), DeviceInfo::getDeviceCode, bo.getDeviceCode());
lqw.like(StringUtils.isNotBlank(bo.getDeviceCode()), DeviceInfo::getDeviceCode, bo.getDeviceCode());
lqw.like(StringUtils.isNotBlank(bo.getDeviceName()), DeviceInfo::getDeviceName, bo.getDeviceName());
lqw.eq(StringUtils.isNotBlank(bo.getModelSpec()), DeviceInfo::getModelSpec, bo.getModelSpec());
lqw.eq(bo.getTypeId() != null, DeviceInfo::getTypeId, bo.getTypeId());