Browse Source

1.修复查询运单出现两条数据的问题

training
zhenghaoyu 1 year ago
parent
commit
7e8dfd7900
  1. 3
      blade-service/logpm-old-project/src/main/java/com/logpm/oldproject/service/impl/WayBillServiceImpl.java

3
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<WayBillEntity> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("waybill_no",waybillNo);
queryWrapper.eq("waybill_no",waybillNo)
.ne("status",-1);
return wayBillMapper.selectOne(queryWrapper);
}

Loading…
Cancel
Save