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
deb25b37
Commit
deb25b37
authored
Dec 27, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改造登记新增导出使用登记证接口。
parent
cb3dc02d
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
6 deletions
+22
-6
IJgChangeRegistrationReformService.java
...le/jg/api/service/IJgChangeRegistrationReformService.java
+16
-1
JgChangeRegistrationReformController.java
.../biz/controller/JgChangeRegistrationReformController.java
+6
-5
JgChangeRegistrationReformServiceImpl.java
...z/service/impl/JgChangeRegistrationReformServiceImpl.java
+0
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/service/IJgChangeRegistrationReformService.java
View file @
deb25b37
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
service
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgChangeRegistrationReformDto
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.List
;
import
java.util.Map
;
/**
* 改造变更登记接口类
*
...
...
@@ -8,5 +16,12 @@ package com.yeejoin.amos.boot.module.jg.api.service;
* @date 2023-12-20
*/
public
interface
IJgChangeRegistrationReformService
{
Page
<
Map
<
String
,
Object
>>
getList
(
JgChangeRegistrationReformDto
dto
,
Page
<
Map
<
String
,
Object
>>
page
,
List
<
String
>
roleIds
);
void
save
(
JSONObject
map
);
void
updateExecuteIds
(
String
instanceId
,
Long
sequenceNbr
,
String
operate
);
void
flowExecute
(
Long
id
,
String
instanceId
,
String
operate
,
String
comment
);
void
withdraw
(
String
instanceId
);
void
deleteBatch
(
List
<
Long
>
ids
);
Map
<
String
,
Object
>
getDetail
(
String
currentDocumentId
,
String
equipId
);
void
exportUseRegistrationCertificate
(
String
sequenceNbr
,
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/controller/JgChangeRegistrationReformController.java
View file @
deb25b37
...
...
@@ -25,6 +25,8 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
javax.servlet.http.HttpServletResponse
;
/**
* 改造变更登记
*
...
...
@@ -130,10 +132,9 @@ public class JgChangeRegistrationReformController extends BaseController {
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@
ApiOperation
(
httpMethod
=
"GET"
,
value
=
"打印历史数据"
,
notes
=
"打印历史数据
"
)
@
GetMapping
(
value
=
"/printHistoryData
"
)
public
ResponseModel
<
Map
<
String
,
Object
>>
printHistoryData
(
@RequestParam
(
"currentDocumentId"
)
String
currentDocumentId
,
@RequestParam
(
value
=
"equipId"
,
required
=
false
)
String
equipId
)
{
return
ResponseHelper
.
buildResponse
(
jgChangeRegistrationReformServiceImpl
.
getDetail
(
currentDocumentId
,
equipId
)
);
@
GetMapping
(
value
=
"/export
"
)
@
ApiOperation
(
httpMethod
=
"GET"
,
value
=
"改造登记-导出使用登记证"
,
notes
=
"改造登记-导出使用登记证
"
)
public
void
exportImageZip
(
HttpServletResponse
response
,
@RequestParam
(
"sequenceNbr"
)
String
sequenceNbr
)
{
jgChangeRegistrationReformServiceImpl
.
exportUseRegistrationCertificate
(
sequenceNbr
,
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/JgChangeRegistrationReformServiceImpl.java
View file @
deb25b37
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