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
9f8fbd90
Commit
9f8fbd90
authored
Feb 26, 2024
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):告知书顶部特种设备域名调整
parent
4764fe3a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
JgInstallationNoticeServiceImpl.java
.../jg/biz/service/impl/JgInstallationNoticeServiceImpl.java
+2
-4
application-dev.properties
...dule-jg-biz/src/main/resources/application-dev.properties
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgInstallationNoticeServiceImpl.java
View file @
9f8fbd90
...
...
@@ -146,7 +146,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
@Value
(
"classpath:/json/urlInfo.json"
)
public
Resource
bizTypeInfo
;
@Value
(
"${tzs.domain
:https://sxtzsb.sxsei.com:9435
}"
)
@Value
(
"${tzs.domain}"
)
String
TZSDOMAIN
;
@Autowired
...
...
@@ -443,13 +443,11 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
});
}
String
tzsDoMain
=
TZSDOMAIN
.
substring
(
0
,
TZSDOMAIN
.
lastIndexOf
(
":"
));
Function
<
String
,
String
>
getValue
=
key
->
installation
.
getOrDefault
(
key
,
""
).
toString
();
// 组装模板变量
Map
<
String
,
Object
>
placeholders
=
new
HashMap
<>();
placeholders
.
put
(
"doMain"
,
tzsDoMain
);
placeholders
.
put
(
"doMain"
,
TZSDOMAIN
);
placeholders
.
put
(
"installUnitName"
,
getValue
.
apply
(
"installUnitName"
));
placeholders
.
put
(
"informNumber"
,
""
.
equals
(
getValue
.
apply
(
"informNumber"
))
?
getValue
.
apply
(
"applyNo"
)
:
getValue
.
apply
(
"informNumber"
));
placeholders
.
put
(
"productName"
,
getValue
.
apply
(
"productName"
));
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/resources/application-dev.properties
View file @
9f8fbd90
...
...
@@ -80,7 +80,7 @@ rule.definition.local-ip=172.16.10.243
# ??????????
minio.url.path
=
http://172.16.10.243:9000/
## \u7279\u79CD\u8BBE\u5907\u57DF\u540D
tzs.domain
=
http
s://sxtzsb.sxsei.com:9435
tzs.domain
=
http
://sxtzsb.sxsei.com
outSystem.user.password
=
a1234560
amos.system.user.app-key
=
AMOS_STUDIO
...
...
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