修复绑定卡接口,增加tenantId数据

This commit is contained in:
wenhui 2022-03-08 15:35:51 +08:00
parent 4b46911e23
commit e427705277

View File

@ -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);