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); }