Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-api-boot-master
Commits
53f5ebcb
Commit
53f5ebcb
authored
Aug 27, 2024
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-auth-idcard'
parents
159baf99
76e19680
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
UserCardAuthServiceImpl.java
.../member/service/userCardAuth/UserCardAuthServiceImpl.java
+5
-7
No files found.
yudao-module-member/yudao-module-member-impl/src/main/java/cn/iocoder/yudao/module/member/service/userCardAuth/UserCardAuthServiceImpl.java
View file @
53f5ebcb
...
...
@@ -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
());
//删除历史认证信息
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment