Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
项目统一框架
amos-boot-biz
Commits
697192ee
Commit
697192ee
authored
Jul 25, 2023
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.删除无用代码
parent
87f17677
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
20 deletions
+14
-20
RegUnitInfoServiceImpl.java
...dule/tcm/flc/biz/service/impl/RegUnitInfoServiceImpl.java
+2
-18
application.properties
...-module-tcm-biz/src/main/resources/application.properties
+12
-2
No files found.
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/java/com/yeejoin/amos/boot/module/tcm/flc/biz/service/impl/RegUnitInfoServiceImpl.java
View file @
697192ee
...
@@ -251,9 +251,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
...
@@ -251,9 +251,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
return
;
return
;
}
}
noQrCodeList
.
parallelStream
().
forEach
(
enterpriseInfo
->
{
noQrCodeList
.
parallelStream
().
forEach
(
enterpriseInfo
->
enterpriseInfo
.
setQrCode
(
createQRCode
(
enterpriseInfo
.
getUseCode
())));
enterpriseInfo
.
setQrCode
(
createQRCode
(
enterpriseInfo
.
getUseCode
()));
});
tzBaseEnterpriseInfoService
.
saveOrUpdateBatch
(
noQrCodeList
);
tzBaseEnterpriseInfoService
.
saveOrUpdateBatch
(
noQrCodeList
);
...
@@ -369,21 +367,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
...
@@ -369,21 +367,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
// }
// }
// 2.组织返回数据
// 2.组织返回数据
RegUnitInfoDto
regUnitInfoDto
=
new
RegUnitInfoDto
();
RegUnitInfoDto
regUnitInfoDto
=
new
RegUnitInfoDto
();
// MultiValueMap<String, String> headers = new HttpHeaders();
//2.1 工商信息查询
// headers.add("product","AMOS_STUDIO_WEB");
// headers.add("appKey","AMOS_STUDIO");
// headers.add("token",token);
// RequestContext.setToken();
// RequestContext.setAppKey();
// RequestContext.setProduct();
// RequestEntity requestEntity = new RequestEntity(
// null, //body部分数据
// headers, //头
// HttpMethod.GET,//请求方法
// URI.create("/accessapi/business/getData"));
// ResponseEntity<JSONObject> responseEntity = restTemplate.exchange(requestEntity,JSONObject.class);
// JSONObject result = responseEntity.getBody();
// 2.1 使用单位调用行政许可系统接口进行查询工商信息
Map
<
String
,
Object
>
resultMap
=
accessFeignService
.
getData
(
unitCode
).
getResult
();
Map
<
String
,
Object
>
resultMap
=
accessFeignService
.
getData
(
unitCode
).
getResult
();
if
(!
ValidationUtil
.
isEmpty
(
resultMap
)){
if
(!
ValidationUtil
.
isEmpty
(
resultMap
)){
// 2.2 工商信息组装
// 2.2 工商信息组装
...
...
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/resources/application.properties
View file @
697192ee
...
@@ -2,6 +2,16 @@ spring.application.name=TZS-COMMON
...
@@ -2,6 +2,16 @@ spring.application.name=TZS-COMMON
server.servlet.context-path
=
/tcm
server.servlet.context-path
=
/tcm
server.port
=
11001
server.port
=
11001
spring.profiles.active
=
dev3
spring.profiles.active
=
dev3
#最大等待队列长度,默认100
server.tomcat.accept-count
=
1000
#最大链接数,默认8192
server.tomcat.max-connections
=
10000
#最大线程数,默认200
server.tomcat.threads.max
=
800
#最小线程数,默认10
server.tomcat.threads.min-spare
=
100
spring.jackson.time-zone
=
GMT+8
spring.jackson.time-zone
=
GMT+8
spring.jackson.date-format
=
yyyy-MM-dd HH:mm:ss
spring.jackson.date-format
=
yyyy-MM-dd HH:mm:ss
...
@@ -146,8 +156,8 @@ spring.security.user.password=a1234560
...
@@ -146,8 +156,8 @@ spring.security.user.password=a1234560
spring.security.user.roles
=
SBA_ADMIN
spring.security.user.roles
=
SBA_ADMIN
## \u540E\u53F0\u6267\u884C\u673A\u5668\u4EBA\u8D26\u53F7\u914D\u7F6E
## \u540E\u53F0\u6267\u884C\u673A\u5668\u4EBA\u8D26\u53F7\u914D\u7F6E
amos.system.user.user-name
=
robot_admin
amos.system.user.user-name
=
admin_tzs
amos.system.user.password
=
a123456
7
amos.system.user.password
=
a123456
0
amos.system.user.app-key
=
AMOS_STUDIO
amos.system.user.app-key
=
AMOS_STUDIO
amos.system.user.product
=
AMOS_STUDIO_WEB
amos.system.user.product
=
AMOS_STUDIO_WEB
...
...
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