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
f1d35223
Commit
f1d35223
authored
Jul 08, 2024
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(jg):证的详情相关接口
parent
67d2cb78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
JgUseRegistrationManageServiceImpl.java
.../biz/service/impl/JgUseRegistrationManageServiceImpl.java
+4
-3
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/JgUseRegistrationManageServiceImpl.java
View file @
f1d35223
...
@@ -38,6 +38,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
...
@@ -38,6 +38,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import
org.typroject.tyboot.core.restful.exception.instance.BadRequest
;
import
org.typroject.tyboot.core.restful.exception.instance.BadRequest
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
java.text.SimpleDateFormat
;
import
java.util.*
;
import
java.util.*
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
...
@@ -219,17 +220,17 @@ public class JgUseRegistrationManageServiceImpl extends BaseService<JgUseRegistr
...
@@ -219,17 +220,17 @@ public class JgUseRegistrationManageServiceImpl extends BaseService<JgUseRegistr
* @return
* @return
*/
*/
public
List
<
Map
<
String
,
String
>>
operationRecord
(
String
sequenceNbr
)
{
public
List
<
Map
<
String
,
String
>>
operationRecord
(
String
sequenceNbr
)
{
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
JgUseRegistrationManage
jgUseRegistrationManage
=
this
.
baseMapper
.
selectById
(
sequenceNbr
);
JgUseRegistrationManage
jgUseRegistrationManage
=
this
.
baseMapper
.
selectById
(
sequenceNbr
);
List
<
JgCertificateChangeRecord
>
changeRecordList
=
jgCertificateChangeRecordService
.
list
(
new
LambdaQueryWrapper
<
JgCertificateChangeRecord
>()
List
<
JgCertificateChangeRecord
>
changeRecordList
=
jgCertificateChangeRecordService
.
list
(
new
LambdaQueryWrapper
<
JgCertificateChangeRecord
>()
.
eq
(
JgCertificateChangeRecord:
:
getUseRegistrationCode
,
jgUseRegistrationManage
.
getUseRegistrationCode
()));
.
eq
(
JgCertificateChangeRecord:
:
getUseRegistrationCode
,
jgUseRegistrationManage
.
getUseRegistrationCode
()));
return
changeRecordList
.
stream
()
return
changeRecordList
.
stream
()
.
map
(
x
->
{
.
map
(
x
->
{
Map
<
String
,
String
>
map
=
new
HashMap
<>();
Map
<
String
,
String
>
map
=
new
HashMap
<>();
map
.
put
(
"operatingTime"
,
String
.
valueOf
(
x
.
getRecDate
()));
map
.
put
(
"operatingTime"
,
simpleDateFormat
.
format
(
x
.
getRecDate
()));
map
.
put
(
"content"
,
x
.
getChangeContent
());
map
.
put
(
"content"
,
x
.
getChangeContent
());
return
map
;
return
map
;
})
}).
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
}
}
/**
/**
...
...
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