From e639c7954355ecb45b66fd6c849fbf22da4b4ef1 Mon Sep 17 00:00:00 2001 From: lau572 <1010031226@qq.com> Date: Thu, 11 Jan 2024 11:16:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E5=AD=97=E6=AE=B5=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/zc/business/domain/DcDevice.java | 2 -- .../com/zc/business/service/impl/DcDeviceServiceImpl.java | 5 ----- 2 files changed, 7 deletions(-) diff --git a/zc-business/src/main/java/com/zc/business/domain/DcDevice.java b/zc-business/src/main/java/com/zc/business/domain/DcDevice.java index b9a91cb7..a4531100 100644 --- a/zc-business/src/main/java/com/zc/business/domain/DcDevice.java +++ b/zc-business/src/main/java/com/zc/business/domain/DcDevice.java @@ -24,8 +24,6 @@ public class DcDevice { private String stakeMarkId; @ApiModelProperty("方向1-上行(菏泽方向),2-中,3-下行(济南方向)") private String direction; - @ApiModelProperty("道路标识") - private Long roadId; @ApiModelProperty("设备名称") private String deviceName; @ApiModelProperty("设备类型") diff --git a/zc-business/src/main/java/com/zc/business/service/impl/DcDeviceServiceImpl.java b/zc-business/src/main/java/com/zc/business/service/impl/DcDeviceServiceImpl.java index 2a95e268..6182ed76 100644 --- a/zc-business/src/main/java/com/zc/business/service/impl/DcDeviceServiceImpl.java +++ b/zc-business/src/main/java/com/zc/business/service/impl/DcDeviceServiceImpl.java @@ -58,11 +58,6 @@ public class DcDeviceServiceImpl extends ServiceImpl i queryWrapper.eq(DcDevice::getStakeMarkId, dcDevice.getStakeMarkId()); } - // 道路标识 - if (Objects.nonNull(dcDevice.getRoadId())) { - queryWrapper.eq(DcDevice::getRoadId, dcDevice.getRoadId()); - } - // 设备名称 if (StringUtils.hasText(dcDevice.getDeviceName())) { queryWrapper.like(DcDevice::getDeviceName, dcDevice.getDeviceName());