设备
This commit is contained in:
@ -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());
|
||||
|
||||
Reference in New Issue
Block a user