From 53144e3703b7d73e5152890484574e0ee123ed14 Mon Sep 17 00:00:00 2001
From: wenhui <1455474577@qq.com>
Date: Thu, 10 Mar 2022 16:46:36 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9F=A5=E7=9C=8B=E5=8D=A1?=
=?UTF-8?q?=E7=94=A8=E6=88=B7=E8=81=94=E7=BD=91=E5=8D=A1=E9=81=87=E5=88=B0?=
=?UTF-8?q?=E7=9A=84bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../com/xhpc/card/service/impl/XhpcCardServiceImpl.java | 2 +-
.../src/main/resources/mapper/XhpcCardMapper.xml | 8 +++++---
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/xhpc-modules/xhpc-card/src/main/java/com/xhpc/card/service/impl/XhpcCardServiceImpl.java b/xhpc-modules/xhpc-card/src/main/java/com/xhpc/card/service/impl/XhpcCardServiceImpl.java
index 37b62760..6a3475bb 100644
--- a/xhpc-modules/xhpc-card/src/main/java/com/xhpc/card/service/impl/XhpcCardServiceImpl.java
+++ b/xhpc-modules/xhpc-card/src/main/java/com/xhpc/card/service/impl/XhpcCardServiceImpl.java
@@ -455,7 +455,7 @@ public class XhpcCardServiceImpl implements IXhpcCardService {
cardUserInfo.setLicencePlate(tIccardUser.getLicenceplate());
return R.ok(cardUserInfo);
} else {
- XhpcIcCardInfo xhpcIcCardInfo = xhpcCardMapper.getXhpcIcCardInfo(tIccardInfo.getCardid());
+ XhpcIcCardInfo xhpcIcCardInfo = xhpcCardMapper.getXhpcIcCardInfo(String.valueOf(tIccardInfo.getId()));
cardUserInfo.setUserAccount(xhpcIcCardInfo.getUserAccount());
cardUserInfo.setUserType(xhpcIcCardInfo.getUserType());
//公共部分
diff --git a/xhpc-modules/xhpc-card/src/main/resources/mapper/XhpcCardMapper.xml b/xhpc-modules/xhpc-card/src/main/resources/mapper/XhpcCardMapper.xml
index f2c05fd5..2f776744 100644
--- a/xhpc-modules/xhpc-card/src/main/resources/mapper/XhpcCardMapper.xml
+++ b/xhpc-modules/xhpc-card/src/main/resources/mapper/XhpcCardMapper.xml
@@ -212,11 +212,13 @@