From 534927fb121343bd54fd84c4b13299f9fa4a35aa Mon Sep 17 00:00:00 2001 From: yefei Date: Fri, 18 Aug 2023 14:08:17 +0800 Subject: [PATCH] =?UTF-8?q?ariesy=20=E4=BF=AE=E5=A4=8D=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E7=A8=8E=E5=8F=B7=E4=B8=BA=E7=A9=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/dxhy/admin/sys/service/impl/SsoLoginServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dxhy-admin/src/main/java/com/dxhy/admin/sys/service/impl/SsoLoginServiceImpl.java b/dxhy-admin/src/main/java/com/dxhy/admin/sys/service/impl/SsoLoginServiceImpl.java index 55918389..6b9f8c87 100644 --- a/dxhy-admin/src/main/java/com/dxhy/admin/sys/service/impl/SsoLoginServiceImpl.java +++ b/dxhy-admin/src/main/java/com/dxhy/admin/sys/service/impl/SsoLoginServiceImpl.java @@ -150,7 +150,8 @@ public class SsoLoginServiceImpl implements SsoLoginService { if(StringUtils.isNotBlank(entity.getTaxpayerCode())){ dept.setTaxno(entity.getTaxpayerCode()); }else{ - dept.setTaxno(taxnos.get(entity.getDeptId())); + String deptId = String.valueOf(entity.getDeptId()); + dept.setTaxno(taxnos.get(deptId)); } dept.setTaxname(entity.getName());