From 0164edabdc77af32e1706a048249f9a5d2ba2919 Mon Sep 17 00:00:00 2001 From: zhengyf Date: Fri, 22 Nov 2024 10:02:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BD=E7=9F=A5=EF=BC=9Au8c=E6=8E=A8?= =?UTF-8?q?=E9=80=81=E9=92=89=E9=92=89=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lets/dingtalk/push/serivce/impl/PushU8CServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/buildpackage/src/main/java/com/hzya/frame/plugin/lets/dingtalk/push/serivce/impl/PushU8CServiceImpl.java b/buildpackage/src/main/java/com/hzya/frame/plugin/lets/dingtalk/push/serivce/impl/PushU8CServiceImpl.java index a9c502d8..46dba311 100644 --- a/buildpackage/src/main/java/com/hzya/frame/plugin/lets/dingtalk/push/serivce/impl/PushU8CServiceImpl.java +++ b/buildpackage/src/main/java/com/hzya/frame/plugin/lets/dingtalk/push/serivce/impl/PushU8CServiceImpl.java @@ -342,6 +342,7 @@ public class PushU8CServiceImpl implements PushU8CService { DingU8cBillEntity dingU8cBillEntity = new DingU8cBillEntity(parentvo.getDwbm(), parentvo.getDwbm_code(), parentvo.getBusitypecode(), parentvo.getDjbh(), parentvo.getVouchid(), "N", e.getMessage(), null,null); dingU8cBillEntity.setCreate_time(new Date()); dingU8cBillDao.pushSaveOrUpdate(dingU8cBillEntity); + Assert.state(false,"推送钉钉失败,失败原因:{}",e.getMessage()); } return null; } @@ -398,6 +399,7 @@ public class PushU8CServiceImpl implements PushU8CService { DingU8cBillEntity dingU8cBillEntity = new DingU8cBillEntity(parentvo.getDwbm(), parentvo.getDwbm_code(), parentvo.getBusitypecode(), parentvo.getDjbh(), parentvo.getVouchid(), "N", e.getMessage(), null,null); dingU8cBillEntity.setCreate_time(new Date()); dingU8cBillDao.pushSaveOrUpdate(dingU8cBillEntity); + Assert.state(false,"推送钉钉失败,失败原因:{}",e.getMessage()); } return instanceId; } @@ -448,6 +450,7 @@ public class PushU8CServiceImpl implements PushU8CService { DingU8cBillEntity dingU8cBillEntity = new DingU8cBillEntity(parentvo.getDwbm(), parentvo.getDwbm_code(), parentvo.getBusitypecode(), parentvo.getDjbh(), parentvo.getVouchid(), "N", e.getMessage(), null,null); dingU8cBillEntity.setCreate_time(new Date()); dingU8cBillDao.pushSaveOrUpdate(dingU8cBillEntity); + Assert.state(false,"推送钉钉失败,失败原因:{}",e.getMessage()); } return instanceId;