Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xingmin
yd-csf
Commits
76068e92
Commit
76068e92
authored
Sep 30, 2025
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
b145b71b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentServiceImpl.java
+6
-2
yd-csf-feign/src/main/java/com/yd/csf/feign/response/appointment/ApiAppointmentDetailResponse.java
+5
-0
No files found.
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentServiceImpl.java
View file @
76068e92
...
...
@@ -90,8 +90,11 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
public
Result
<
ApiAppointmentDetailResponse
>
detail
(
String
appointmentBizId
)
{
ApiAppointmentDetailResponse
response
=
new
ApiAppointmentDetailResponse
();
//预约主体信息详情(单个对象详情)
Result
<
ApiAppointmentInfoDto
>
result
=
mainDetail
(
appointmentBizId
);
response
.
setApiAppointmentInfoDto
(
result
.
getData
());
Result
<
Appointment
>
result
=
checkAppointmentIsExist
(
appointmentBizId
);
Appointment
appointment
=
result
.
getData
();
ApiAppointmentInfoDto
dto
=
new
ApiAppointmentInfoDto
();
BeanUtils
.
copyProperties
(
appointment
,
dto
);
response
.
setApiAppointmentInfoDto
(
dto
);
//产品计划信息
Result
<
ApiProductPlanInfoDto
>
result1
=
apiProductPlanService
.
detail
(
appointmentBizId
,
""
);
response
.
setApiProductPlanInfoDto
(
result1
.
getData
());
...
...
@@ -110,6 +113,7 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
//预约附件信息列表
Result
<
List
<
ApiAppointmentFileDto
>>
result6
=
apiAppointmentFileService
.
list
(
appointmentBizId
);
response
.
setApiAppointmentFileDtoList
(
result6
.
getData
());
response
.
setStatus
(!
Objects
.
isNull
(
result
.
getData
())
?
appointment
.
getStatus
()
:
null
);
return
Result
.
success
(
response
);
}
...
...
yd-csf-feign/src/main/java/com/yd/csf/feign/response/appointment/ApiAppointmentDetailResponse.java
View file @
76068e92
...
...
@@ -10,6 +10,11 @@ import java.util.List;
public
class
ApiAppointmentDetailResponse
{
/**
* 预约状态: 0-暂存 1-待预约, 2-待签署 3-已签署 4-已取消(字典)
*/
private
Integer
status
;
/**
* 预约简要信息
*/
private
ApiAppointmentBriefInfoDto
apiAppointmentBriefInfoDto
;
...
...
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