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
a1be11ae
authored
2025-10-29 11:58:57 +0800
by
xiaojie
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
【数据资产】
1、认证校验
1 parent
f07c9996
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
5 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 @
a1be11a
...
...
@@ -61,6 +61,6 @@ public class EnterpriseRegisterRQVO {
private
EnterpriseSubordinateRQVO
extendInfo
;
@Schema
(
title
=
"法人用户身份附件信息"
)
private
List
<
AttachmentCommonVO
>
attachInfo
;
private
AttachmentCommonVO
attachInfo
;
}
\ No newline at end of file
...
...
src/main/java/com/csbr/qingcloud/portal/service/impl/DataPortServiceImpl.java
View file @
a1be11a
...
...
@@ -29,10 +29,7 @@ import org.apache.commons.lang3.StringUtils;
import
org.springframework.stereotype.Service
;
import
java.text.SimpleDateFormat
;
import
java.util.Calendar
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.Map
;
import
java.util.*
;
/**
* @program: daop-projects
...
...
@@ -225,6 +222,24 @@ public class DataPortServiceImpl implements DataPortService {
operatorSubordinateRQVO
.
setEnterpriseName
(
entity
.
getTenantName
());
operatorSubordinateRQVO
.
setBusinessLicense
(
getName
(
entity
.
getBusinessLicenseJson
()));
operatorRegisterRQVO
.
setExtendInfo
(
operatorSubordinateRQVO
);
String
managerPersonIdPhotoJson
=
entity
.
getManagerPersonIdPhotoJson
();
if
(
ObjectUtils
.
isNotEmpty
(
managerPersonIdPhotoJson
))
{
JSONArray
jsonArray
=
JSON
.
parseArray
(
managerPersonIdPhotoJson
);
if
(
ObjectUtils
.
isNotEmpty
(
jsonArray
))
{
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
);
}
operatorRegisterRQVO
.
setAttachInfo
(
attachInfos
);
}
}
return
operatorRegisterRQVO
;
}
...
...
@@ -273,6 +288,21 @@ public class DataPortServiceImpl implements DataPortService {
extendInfo
.
setIndustryCategory2
(
industryDicMap
.
get
(
entity
.
getIndustrySmallcode
()));
extendInfo
.
setBusinessLicense
(
getName
(
entity
.
getBusinessLicenseJson
()));
enterpriseRegisterRQVO
.
setExtendInfo
(
extendInfo
);
String
authorizationLetter
=
entity
.
getAuthorizationLetter
();
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
);
}
}
return
enterpriseRegisterRQVO
;
}
...
...
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