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
3c6e6715
Commit
3c6e6715
authored
Jan 10, 2025
by
hezhuozhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
监管审核账号:登记证管理列表>详情,办理日期时间全是00:00:00不准确【8大类都不对】
parent
0be6f88b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
3 deletions
+16
-3
JgUseRegistrationManageController.java
.../jg/biz/controller/JgUseRegistrationManageController.java
+1
-1
JgUseRegistrationManageServiceImpl.java
.../biz/service/impl/JgUseRegistrationManageServiceImpl.java
+15
-2
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 @
3c6e6715
...
...
@@ -100,7 +100,7 @@ public class JgUseRegistrationManageController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/detail"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据sequenceNbr查询---使用登记证详情用"
,
notes
=
"根据sequenceNbr查询---使用登记证详情用"
)
public
ResponseModel
<
JgUseRegistrationManage
>
detail
(
@RequestParam
(
value
=
"sequenceNbr"
)
String
sequenceNbr
)
{
public
ResponseModel
<
JgUseRegistrationManage
Dto
>
detail
(
@RequestParam
(
value
=
"sequenceNbr"
)
String
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
jgUseRegistrationManageServiceImpl
.
queryDetailBySeq
(
sequenceNbr
));
}
...
...
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 @
3c6e6715
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
biz
.
service
.
impl
;
import
cn.hutool.core.bean.BeanUtil
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
...
...
@@ -301,8 +302,20 @@ public class JgUseRegistrationManageServiceImpl extends BaseService<JgUseRegistr
* @param sequenceNbr 主键
* @return
*/
public
JgUseRegistrationManage
queryDetailBySeq
(
String
sequenceNbr
)
{
return
this
.
baseMapper
.
selectById
(
sequenceNbr
);
public
JgUseRegistrationManageDto
queryDetailBySeq
(
String
sequenceNbr
)
{
JgUseRegistrationManage
jgUseRegistrationManage
=
this
.
baseMapper
.
selectById
(
sequenceNbr
);
JgUseRegistrationManageDto
jgUseRegistrationManageDto
=
new
JgUseRegistrationManageDto
();
if
(
Objects
.
nonNull
(
jgUseRegistrationManage
)){
BeanUtil
.
copyProperties
(
jgUseRegistrationManage
,
jgUseRegistrationManageDto
);
try
{
jgUseRegistrationManageDto
.
setAuditPassDate
(
DateUtils
.
dateFormat
(
jgUseRegistrationManage
.
getAuditPassDate
(),
DateUtils
.
DATE_PATTERN
));
jgUseRegistrationManageDto
.
setRegDate
(
DateUtils
.
dateFormat
(
jgUseRegistrationManage
.
getRegDate
(),
DateUtils
.
DATE_PATTERN
));
jgUseRegistrationManageDto
.
setCreateDate
(
DateUtils
.
dateFormat
(
jgUseRegistrationManage
.
getCreateDate
(),
DateUtils
.
DATE_TIME_PATTERN
));
}
catch
(
ParseException
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
}
}
return
jgUseRegistrationManageDto
;
}
/**
...
...
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