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
94a1b9bc
Commit
94a1b9bc
authored
Sep 05, 2024
by
tianbo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_tzs_bugfix' into develop_tzs_register
parents
03e72d09
1635f91c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
CommonServiceImpl.java
...os/boot/module/jg/biz/service/impl/CommonServiceImpl.java
+7
-3
unit-use-registration-model.ftl
.../main/resources/templates/unit-use-registration-model.ftl
+0
-0
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/CommonServiceImpl.java
View file @
94a1b9bc
...
...
@@ -964,11 +964,15 @@ public class CommonServiceImpl implements ICommonService {
}
map
.
put
(
"supervisoryCode"
,
ImageUtils
.
generateQRCode
(
Optional
.
ofNullable
(
map
.
get
(
"applyNo"
)).
orElse
(
""
).
toString
(),
100
,
100
));
map
.
put
(
"printingType"
,
PrintingTypeEnum
.
REGULAR
.
getCode
());
map
.
put
(
"printingType"
,
PrintingTypeEnum
.
OVERPLAY
.
getCode
());
String
manageType
=
Optional
.
ofNullable
(
map
.
get
(
"manageType"
)).
orElse
(
""
).
toString
();
String
templateFileName
=
"use-registration-model.ftl"
;
if
(
"unit"
.
equals
(
manageType
))
{
templateFileName
=
"unit-use-registration-model.ftl"
;
}
File
file
=
null
;
try
(
ServletOutputStream
out
=
response
.
getOutputStream
())
{
file
=
WordTemplateUtils
.
createDoc
(
"/templates/use-registration-model.ftl"
,
map
,
configuration
.
getTemplate
(
"use-registration-model.ftl"
,
"UTF-8"
));
file
=
WordTemplateUtils
.
createDoc
(
"/templates/use-registration-model.ftl"
,
map
,
configuration
.
getTemplate
(
templateFileName
,
"UTF-8"
));
try
(
InputStream
fin
=
Files
.
newInputStream
(
file
.
toPath
()))
{
response
.
setCharacterEncoding
(
"utf-8"
);
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/resources/templates/unit-use-registration-model.ftl
0 → 100644
View file @
94a1b9bc
This diff is collapsed.
Click to expand it.
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