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
814b9e5d
Commit
814b9e5d
authored
Feb 18, 2025
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登记表生成代码优化
parent
e8621496
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
4 deletions
+8
-4
CommonController.java
.../amos/boot/module/jg/biz/controller/CommonController.java
+5
-1
ICommonService.java
...ejoin/amos/boot/module/jg/biz/service/ICommonService.java
+1
-1
CommonServiceImpl.java
...os/boot/module/jg/biz/service/impl/CommonServiceImpl.java
+0
-0
use-registration-form-set.ftl
...rc/main/resources/templates/use-registration-form-set.ftl
+1
-1
use-registration-form-unit.ftl
...c/main/resources/templates/use-registration-form-unit.ftl
+0
-0
use-registration-form-vehicle.ftl
...ain/resources/templates/use-registration-form-vehicle.ftl
+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/controller/CommonController.java
View file @
814b9e5d
...
...
@@ -764,6 +764,10 @@ public class CommonController extends BaseController {
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"pdf流生成"
,
notes
=
"pdf流生成"
)
@PostMapping
(
value
=
"/getRegistrationFormStream"
)
public
void
getRegistrationFormStream
(
@RequestBody
JSONObject
map
,
HttpServletResponse
response
)
{
commonService
.
getRegistrationFormStream
(
map
,
response
);
JSONObject
formData
=
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
map
.
get
(
"formData"
)));
String
manageType
=
String
.
valueOf
(
map
.
get
(
"manageType"
));
ReginParams
selectedOrgInfo
=
getSelectedOrgInfo
();
formData
.
put
(
"userName"
,
selectedOrgInfo
.
getUserModel
().
getRealName
());
commonService
.
getRegistrationFormStream
(
formData
,
manageType
,
response
);
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/ICommonService.java
View file @
814b9e5d
...
...
@@ -255,5 +255,5 @@ public interface ICommonService {
Map
<
String
,
Object
>
getRegistrationFormUrl
(
String
manageType
,
JSONObject
formData
);
void
getRegistrationFormStream
(
JSONObject
map
,
HttpServletResponse
response
);
void
getRegistrationFormStream
(
JSONObject
formData
,
String
manageType
,
HttpServletResponse
response
);
}
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 @
814b9e5d
This diff is collapsed.
Click to expand it.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/resources/templates/use-registration-form-set.ftl
View file @
814b9e5d
...
...
@@ -93,7 +93,7 @@
<w:sz
w:val=
"21"
/>
<w:szCs
w:val=
"21"
/>
</w:rPr>
<w:t>
${(registrationType)!''}
</w:t>
<w:t>
${(registrationType)!'
新设备首次启用
'}
</w:t>
</w:r>
</w:p>
<w:p
w14:paraId=
"43379CD5"
>
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/resources/templates/use-registration-form-unit.ftl
0 → 100644
View file @
814b9e5d
This diff is collapsed.
Click to expand it.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/resources/templates/use-registration-form-vehicle.ftl
View file @
814b9e5d
...
...
@@ -574,7 +574,7 @@
<w:sz
w:val=
"21"
/>
<w:sz-cs
w:val=
"21"
/>
</w:rPr>
<w:t>
${(registrationType)!''}
</w:t>
<w:t>
${(registrationType)!'
新设备首次启用
'}
</w:t>
</w:r>
</w:p>
<w:tbl>
...
...
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