From 786b7ba9ac838c1d947de03be3ee98d199ca9dc9 Mon Sep 17 00:00:00 2001 From: LSH Date: 星期五, 02 十二月 2022 17:00:21 +0800 Subject: [PATCH] #修改合同号 --- src/main/java/com/zy/asrs/service/impl/OrderServiceImpl.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/OrderServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/OrderServiceImpl.java index a2dea81..31ac504 100644 --- a/src/main/java/com/zy/asrs/service/impl/OrderServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/OrderServiceImpl.java @@ -59,7 +59,7 @@ @Override public void checkComplete(String orderNo) { Order order = this.selectByNo(orderNo); - if (order.getSettle() >= 4L) { + if (Cools.isEmpty(order) || order.getSettle() >= 4L) { return; } List<OrderDetl> orderDetls = orderDetlMapper.selectList(new EntityWrapper<OrderDetl>().eq("order_id", order.getId())); -- Gitblit v1.9.1