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
ef40bc86
authored
2025-03-04 18:01:17 +0800
by
肖初晴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
【DAOP-1.0】企业认证
【功能点】测试问题处理
1 parent
35280e14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
src/main/java/com/csbr/qingcloud/portal/service/impl/EnterpriseServiceImpl.java
src/main/java/com/csbr/qingcloud/portal/service/impl/EnterpriseServiceImpl.java
View file @
ef40bc8
...
...
@@ -331,7 +331,7 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
vo
.
setProvince
(
entity
.
getProvince
());
vo
.
setCity
(
entity
.
getCity
());
vo
.
setDistrict
(
entity
.
getDistrict
());
vo
.
setCompanyAddress
(
String
.
format
(
"%s/%s/%s"
,
vo
.
getProvince
(),
vo
.
getCity
(),
vo
.
getDistrict
()));
//
vo.setCompanyAddress(String.format("%s/%s/%s",vo.getProvince(),vo.getCity(),vo.getDistrict()));
if
(
CollectionUtils
.
isEmpty
(
ChangeInfoUtil
.
areaList
)){
ChangeInfoUtil
.
areaList
=
configureFeign
.
getBoroughCodeName
().
getData
();
}
...
...
@@ -355,22 +355,21 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
if
(
array
.
size
()
==
0
){
return
null
;
}
List
<
TenantLicRQVO
>
list
=
new
ArrayList
<>
();
JSONArray
itemArray
=
new
JSONArray
();
for
(
int
i
=
0
;
i
<
array
.
size
();
i
++){
JSONObject
obj
=
array
.
getJSONObject
(
i
);
TenantLicRQVO
item
=
new
TenantLicRQVO
();
item
.
setLicenseType
(
"1"
);
//格式转换
JSONObject
itemOjb
=
new
JSONObject
();
JSONArray
itemArray
=
new
JSONArray
();
itemOjb
.
put
(
"name"
,
obj
.
get
(
"name"
));
itemOjb
.
put
(
"path"
,
obj
.
get
(
"url"
));
itemArray
.
add
(
itemOjb
);
item
.
setPictContentJson
(
JSON
.
toJSONString
(
itemArray
));
list
.
add
(
item
);
}
TenantLicRQVO
item
=
new
TenantLicRQVO
();
item
.
setLicenseType
(
"1"
);
item
.
setPictContentJson
(
JSON
.
toJSONString
(
itemArray
));
List
<
TenantLicRQVO
>
list
=
new
ArrayList
<>();
list
.
add
(
item
);
return
list
;
}
...
...
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