Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
ms-data-circulation-portal-service
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
ea241076
authored
2025-10-29 17:46:58 +0800
by
xiaojie
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
【数据资产】
1、证件校验
1 parent
dd8f1ff4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
src/main/java/com/csbr/qingcloud/portal/domain/vo/dataPort/EnterpriseRegisterRQVO.java
src/main/java/com/csbr/qingcloud/portal/service/impl/DataPortServiceImpl.java
src/main/java/com/csbr/qingcloud/portal/domain/vo/dataPort/EnterpriseRegisterRQVO.java
View file @
ea24107
...
...
@@ -61,6 +61,6 @@ public class EnterpriseRegisterRQVO {
private
EnterpriseSubordinateRQVO
extendInfo
;
@Schema
(
title
=
"法人用户身份附件信息"
)
private
AttachmentCommonVO
attachInfo
;
private
List
<
AttachmentCommonVO
>
attachInfos
;
}
\ No newline at end of file
...
...
src/main/java/com/csbr/qingcloud/portal/service/impl/DataPortServiceImpl.java
View file @
ea24107
...
...
@@ -293,13 +293,17 @@ public class DataPortServiceImpl implements DataPortService {
if
(
ObjectUtils
.
isNotEmpty
(
authorizationLetter
))
{
JSONArray
jsonArray
=
JSON
.
parseArray
(
authorizationLetter
);
if
(
ObjectUtils
.
isNotEmpty
(
jsonArray
))
{
JSONObject
jsonObject
=
jsonArray
.
getJSONObject
(
0
);
AttachmentCommonVO
attachInfo
=
new
AttachmentCommonVO
();
attachInfo
.
setAttachType
(
"授权委托书"
);
String
name
=
jsonObject
.
getString
(
"name"
);
attachInfo
.
setAttachName
(
StringUtils
.
isNotEmpty
(
name
)
?
name
.
split
(
"\\."
)[
0
]
:
name
);
attachInfo
.
setVerifyUrl
(
jsonObject
.
getString
(
"url"
));
enterpriseRegisterRQVO
.
setAttachInfo
(
attachInfo
);
List
<
AttachmentCommonVO
>
attachInfos
=
new
ArrayList
<>();
for
(
int
i
=
0
;
i
<
jsonArray
.
size
();
i
++)
{
JSONObject
jsonObject
=
jsonArray
.
getJSONObject
(
i
);
AttachmentCommonVO
attachInfo
=
new
AttachmentCommonVO
();
attachInfo
.
setAttachType
(
"授权委托书"
);
String
name
=
jsonObject
.
getString
(
"name"
);
attachInfo
.
setAttachName
(
StringUtils
.
isNotEmpty
(
name
)
?
name
.
split
(
"\\."
)[
0
]
:
name
);
attachInfo
.
setVerifyUrl
(
jsonObject
.
getString
(
"url"
));
attachInfos
.
add
(
attachInfo
);
}
enterpriseRegisterRQVO
.
setAttachInfos
(
attachInfos
);
}
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment