From 4a0737131965b7eaa9ed2b2bf4fb0c6d2058ef2a Mon Sep 17 00:00:00 2001 From: liao Date: Mon, 24 Apr 2023 17:46:31 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=BF=AB=E9=80=92100=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E8=AE=A2=E5=8D=95=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/jero/mail/service/impl/PostInfoServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jero-boot-incoming-payment/src/main/java/com/jero/mail/service/impl/PostInfoServiceImpl.java b/jero-boot-incoming-payment/src/main/java/com/jero/mail/service/impl/PostInfoServiceImpl.java index 64cb8600..ba06ab05 100644 --- a/jero-boot-incoming-payment/src/main/java/com/jero/mail/service/impl/PostInfoServiceImpl.java +++ b/jero-boot-incoming-payment/src/main/java/com/jero/mail/service/impl/PostInfoServiceImpl.java @@ -90,12 +90,12 @@ public class PostInfoServiceImpl implements IPostInfoService { } private void setCom(PostInfoQuery postInfoQuery) { - if ("1".equals(postInfoQuery.getCom())) { + if ("2".equals(postInfoQuery.getCom())) { postInfoQuery.setCom(SF); if (StringUtils.isBlank(postInfoQuery.getPhone())) { throw new JeroBootException("顺丰速递必须填写手机号!"); } - } else if ("2".equals(postInfoQuery.getCom())) { + } else if ("1".equals(postInfoQuery.getCom())) { postInfoQuery.setCom(EMS); } else { throw new JeroBootException("只能查询顺丰和EMS的快递信息!");