From 7e8dfd790001dd4d1f1e89972039a5b4a5bb59d9 Mon Sep 17 00:00:00 2001 From: zhenghaoyu Date: Sat, 7 Oct 2023 09:31:01 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E5=A4=8D=E6=9F=A5=E8=AF=A2=E8=BF=90?= =?UTF-8?q?=E5=8D=95=E5=87=BA=E7=8E=B0=E4=B8=A4=E6=9D=A1=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/logpm/oldproject/service/impl/WayBillServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/blade-service/logpm-old-project/src/main/java/com/logpm/oldproject/service/impl/WayBillServiceImpl.java b/blade-service/logpm-old-project/src/main/java/com/logpm/oldproject/service/impl/WayBillServiceImpl.java index 6e9f2c36f..377db7183 100644 --- a/blade-service/logpm-old-project/src/main/java/com/logpm/oldproject/service/impl/WayBillServiceImpl.java +++ b/blade-service/logpm-old-project/src/main/java/com/logpm/oldproject/service/impl/WayBillServiceImpl.java @@ -19,7 +19,8 @@ public class WayBillServiceImpl implements IWayBillService { @Override public WayBillEntity getByWaybillNo(String waybillNo) { QueryWrapper queryWrapper = new QueryWrapper<>(); - queryWrapper.eq("waybill_no",waybillNo); + queryWrapper.eq("waybill_no",waybillNo) + .ne("status",-1); return wayBillMapper.selectOne(queryWrapper); }