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 615d0a39..1e3fafaf 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 @@ -412,6 +412,7 @@ public class XhpcCardServiceImpl implements IXhpcCardService { xhpcIcCardInfo.setCreateTime(new Date()); xhpcIcCardInfo.setUserAccount(bindCardInfo.getUserAccount()); xhpcIcCardInfo.setUserType(bindCardInfo.getUserType()); + xhpcIcCardInfo.setTenantId(tokenService.getLoginUser().getSysUser().getTenantId()); TIccardInfo tIccardInfo = new TIccardInfo(); tIccardInfo.setId(bindCardInfo.getCardRecordId()); tIccardInfo.setStatus(1);