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
5a2e32d8
Commit
5a2e32d8
authored
Jul 09, 2024
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):证书下载
parent
57a1c20b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
8 deletions
+16
-8
JgUseRegistrationManageController.java
.../jg/biz/controller/JgUseRegistrationManageController.java
+8
-1
JgUseRegistrationManageServiceImpl.java
.../biz/service/impl/JgUseRegistrationManageServiceImpl.java
+8
-7
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/JgUseRegistrationManageController.java
View file @
5a2e32d8
...
@@ -244,7 +244,14 @@ public class JgUseRegistrationManageController extends BaseController {
...
@@ -244,7 +244,14 @@ public class JgUseRegistrationManageController extends BaseController {
}
}
/**
/**
* 使用登记证 相关打印
* 证的 相关打印
* @param response 响应
* @param printType certificateNormalPrint:使用登记证 普打
* certificateNestedPrint:使用登记证 套打
* useFlagNormalPrint:使用标志 普打
* useFlagNestedPrint:使用标志 套打
* exportSummaryTable;工业管道和气瓶 汇总表下载
* @param certificateSeq 证书的seq
*/
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/printCertificate"
)
@GetMapping
(
value
=
"/printCertificate"
)
...
...
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/JgUseRegistrationManageServiceImpl.java
View file @
5a2e32d8
...
@@ -350,8 +350,9 @@ public class JgUseRegistrationManageServiceImpl extends BaseService<JgUseRegistr
...
@@ -350,8 +350,9 @@ public class JgUseRegistrationManageServiceImpl extends BaseService<JgUseRegistr
/**
/**
* 标志/使用登记证/汇总表 打印
* 标志/使用登记证/汇总表 打印
* @param response 响应
*
* @param printType 打印类型
* @param response 响应
* @param printType 打印类型
* @param certificateSeq 使用登记证的seq
* @param certificateSeq 使用登记证的seq
*/
*/
public
void
printCertificate
(
HttpServletResponse
response
,
String
printType
,
String
certificateSeq
)
{
public
void
printCertificate
(
HttpServletResponse
response
,
String
printType
,
String
certificateSeq
)
{
...
@@ -367,10 +368,10 @@ public class JgUseRegistrationManageServiceImpl extends BaseService<JgUseRegistr
...
@@ -367,10 +368,10 @@ public class JgUseRegistrationManageServiceImpl extends BaseService<JgUseRegistr
String
equCategoryCode
=
manage
.
getEquCategoryCode
();
String
equCategoryCode
=
manage
.
getEquCategoryCode
();
switch
(
printType
)
{
switch
(
printType
)
{
case
"certificateNormalPrint"
:
case
"certificateNormalPrint"
:
// 使用登记证 普打
case
"certificateNestedPrint"
:
case
"certificateNestedPrint"
:
// 使用登记证 套打
case
"useFlagNormalPrint"
:
case
"useFlagNormalPrint"
:
// 使用标志 普打
case
"useFlagNestedPrint"
:
case
"useFlagNestedPrint"
:
// 使用标志 套打
if
(
BusinessTypeEnum
.
JG_VEHICLE_GAS_APPLICATION
.
getName
().
equals
(
regType
))
{
if
(
BusinessTypeEnum
.
JG_VEHICLE_GAS_APPLICATION
.
getName
().
equals
(
regType
))
{
JgVehicleInformation
vehicleInformation
=
jgVehicleInformationService
.
getOne
(
JgVehicleInformation
vehicleInformation
=
jgVehicleInformationService
.
getOne
(
new
LambdaQueryWrapper
<
JgVehicleInformation
>()
new
LambdaQueryWrapper
<
JgVehicleInformation
>()
...
@@ -385,7 +386,7 @@ public class JgUseRegistrationManageServiceImpl extends BaseService<JgUseRegistr
...
@@ -385,7 +386,7 @@ public class JgUseRegistrationManageServiceImpl extends BaseService<JgUseRegistr
jgUseRegistrationService
.
exportUseRegistrationCertificate
(
sequenceNbr
,
response
,
getPrintTypeCode
(
printType
));
jgUseRegistrationService
.
exportUseRegistrationCertificate
(
sequenceNbr
,
response
,
getPrintTypeCode
(
printType
));
}
}
break
;
break
;
case
"exportSummaryTable"
:
case
"exportSummaryTable"
:
// 工业管道和气瓶 汇总表下载
JgUseRegistration
useRegistration
=
jgUseRegistrationService
.
getOne
(
JgUseRegistration
useRegistration
=
jgUseRegistrationService
.
getOne
(
new
LambdaQueryWrapper
<
JgUseRegistration
>()
new
LambdaQueryWrapper
<
JgUseRegistration
>()
.
eq
(
JgUseRegistration:
:
getUseRegistrationCode
,
useRegistrationCode
));
.
eq
(
JgUseRegistration:
:
getUseRegistrationCode
,
useRegistrationCode
));
...
...
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