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
57a1c20b
Commit
57a1c20b
authored
Jul 09, 2024
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):维护使用登记证办理类型
parent
a0a89a77
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
3 deletions
+21
-3
JgUseRegistrationManageController.java
.../jg/biz/controller/JgUseRegistrationManageController.java
+21
-3
JgUseRegistrationManageServiceImpl.java
.../biz/service/impl/JgUseRegistrationManageServiceImpl.java
+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/controller/JgUseRegistrationManageController.java
View file @
57a1c20b
...
...
@@ -30,6 +30,7 @@ import org.typroject.tyboot.core.restful.utils.ResponseModel;
import
org.springframework.beans.factory.annotation.Autowired
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
org.springframework.web.bind.annotation.*
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
...
...
@@ -112,6 +113,7 @@ public class JgUseRegistrationManageController extends BaseController {
public
ResponseModel
<
JgUseRegistrationManage
>
detail
(
@RequestParam
(
value
=
"sequenceNbr"
)
String
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
jgUseRegistrationManageServiceImpl
.
queryDetailBySeq
(
sequenceNbr
));
}
/**
* 根据sequenceNbr查询使用登记证操作流水---使用登记证详情用
*
...
...
@@ -124,9 +126,11 @@ public class JgUseRegistrationManageController extends BaseController {
public
ResponseModel
<
List
<
Map
<
String
,
String
>>>
operationRecord
(
@RequestParam
(
value
=
"sequenceNbr"
)
String
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
jgUseRegistrationManageServiceImpl
.
operationRecord
(
sequenceNbr
));
}
/**
* 根据sequenceNbr查询使用登记证对应设备列表---使用登记证详情用
* 分页接口
*
* @param sequenceNbr 主键
* @return
*/
...
...
@@ -134,9 +138,9 @@ public class JgUseRegistrationManageController extends BaseController {
@GetMapping
(
value
=
"/detail/equList"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据sequenceNbr查询使用登记证对应设备列表---使用登记证详情用"
,
notes
=
"根据sequenceNbr查询使用登记证对应设备列表---使用登记证详情用"
)
public
ResponseModel
<
Page
<
JSONObject
>>
certificateEquList
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
,
@RequestParam
(
value
=
"sequenceNbr"
)
String
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
jgUseRegistrationManageServiceImpl
.
certificateEquList
(
current
,
size
,
sequenceNbr
));
@RequestParam
(
value
=
"size"
)
int
size
,
@RequestParam
(
value
=
"sequenceNbr"
)
String
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
jgUseRegistrationManageServiceImpl
.
certificateEquList
(
current
,
size
,
sequenceNbr
));
}
/**
...
...
@@ -238,4 +242,18 @@ public class JgUseRegistrationManageController extends BaseController {
.
collect
(
Collectors
.
toList
());
return
ResponseHelper
.
buildResponse
(
jgUseRegistrationManageServiceImpl
.
queryEquForPageByCertificateSeqList
(
collect
,
current
,
size
));
}
/**
* 使用登记证 相关打印
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/printCertificate"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"使用登记证 相关打印"
,
notes
=
"使用登记证 相关打印"
)
public
void
printCertificate
(
HttpServletResponse
response
,
@RequestParam
(
value
=
"printType"
)
String
printType
,
@RequestParam
(
value
=
"certificateSeq"
)
String
certificateSeq
)
{
jgUseRegistrationManageServiceImpl
.
printCertificate
(
response
,
printType
,
certificateSeq
);
}
}
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 @
57a1c20b
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