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