From 6fa52d19422397d2fab30cbe8dee600de068302e Mon Sep 17 00:00:00 2001 From: PigBaoBei <2739175034@qq.com> Date: Sat, 28 Sep 2024 22:43:53 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9B=B6=E6=8B=85=E6=95=B0=E9=87=8F=E7=BB=B4?= =?UTF-8?q?=E6=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../distribution/api/DistributionSignforAppController.java | 5 +++-- .../service/impl/DistributionSignforServiceImpl.java | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/api/DistributionSignforAppController.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/api/DistributionSignforAppController.java index 4b796d042..933af664c 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/api/DistributionSignforAppController.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/api/DistributionSignforAppController.java @@ -210,10 +210,11 @@ public class DistributionSignforAppController { try { R r = distributionSignforService.newSignfor(distrilbutionloadingscanDTO); return r; - } catch (Exception e) { + } catch (CustomerException e) { log.error("#############signfor:签收报错", e); + return Resp.scanFail("签收失败!",e.getMessage()); } - return R.fail("签收失败!"); + } /** diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionSignforServiceImpl.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionSignforServiceImpl.java index 82acb61cd..006daf2f8 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionSignforServiceImpl.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionSignforServiceImpl.java @@ -7699,6 +7699,7 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl