物理卡挂失解挂

This commit is contained in:
sxu 2025-06-17 18:17:12 +08:00
parent b00a9f2ac6
commit b806721d03
1 changed files with 2 additions and 0 deletions

View File

@ -130,6 +130,8 @@ public class AccCardServiceImpl implements IAccCardService {
if (cardCountByCardSerialNum > 0) {
throw new ServiceException("卡号已存在, 卡号不能重复");
}
} else {
accountCard.setNewSerialNum(accountCard.getSerialNum());
}
AccountInfo accountInfo = accInfoMapper.selectAccInfoById(accountCard.getAccountId());
checkAccInfoAndStatus(accountInfo);