Commit 53f5ebcb authored by 332784038@qq.com's avatar 332784038@qq.com

Merge branch 'master-auth-idcard'

parents 159baf99 76e19680
......@@ -6,8 +6,6 @@ import javax.annotation.Resource;
import cn.iocoder.yudao.framework.i18n.core.I18nMessage;
import cn.iocoder.yudao.module.ecw.api.internalMessage.ClientInternalMessageApi;
import cn.iocoder.yudao.module.ecw.api.internalMessage.dto.InternalMessageCreateDto;
import cn.iocoder.yudao.module.member.dal.mysql.userOperationLog.UserOperationLogMapper;
import cn.iocoder.yudao.module.member.enums.ErrorCodeConstants;
import cn.iocoder.yudao.module.member.enums.UserAuditStatusEnum;
import cn.iocoder.yudao.module.member.enums.UserOperationLogTypeEnum;
import cn.iocoder.yudao.module.member.service.userOperationLog.UserOperationLogService;
......@@ -48,11 +46,11 @@ public class UserCardAuthServiceImpl extends AbstractService<UserCardAuthMapper,
public Long createUserCardAuth(UserCardAuthCreateReqVO createReqVO, boolean isAdminManagerUpload) {
//审核中和审核通过已存在不能提交
List<UserCardAuthCreateReqVO> userCardAuthCreateReqVOS = userCardAuthMapper.selectUserCardAuthList(createReqVO.getUserId());
if (userCardAuthCreateReqVOS.size() > 0) {
throw exception(ErrorCodeConstants.USER_CARD_AUTH_EXISTS);
}
//
// List<UserCardAuthCreateReqVO> userCardAuthCreateReqVOS = userCardAuthMapper.selectUserCardAuthList(createReqVO.getUserId());
// if (userCardAuthCreateReqVOS.size() > 0) {
// throw exception(ErrorCodeConstants.USER_CARD_AUTH_EXISTS);
// }
UserCardAuthDO authDO = userCardAuthMapper.selectByUserId(createReqVO.getUserId());
//删除历史认证信息
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment