|
@ -74,6 +74,11 @@ public class DcDeviceServiceImpl extends ServiceImpl<DcDeviceMapper, DcDevice> i |
|
|
queryWrapper.eq(DcDevice::getDeviceType, dcDevice.getDeviceType()); |
|
|
queryWrapper.eq(DcDevice::getDeviceType, dcDevice.getDeviceType()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 方向
|
|
|
|
|
|
if (Objects.nonNull(dcDevice.getDirection())) { |
|
|
|
|
|
queryWrapper.eq(DcDevice::getDirection, dcDevice.getDirection()); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// 安装日期
|
|
|
// 安装日期
|
|
|
if (Objects.nonNull(dcDevice.getInstallationDate())) { |
|
|
if (Objects.nonNull(dcDevice.getInstallationDate())) { |
|
|
queryWrapper.eq(DcDevice::getInstallationDate, dcDevice.getInstallationDate()); |
|
|
queryWrapper.eq(DcDevice::getInstallationDate, dcDevice.getInstallationDate()); |
|
|