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
c40cecd6
Commit
c40cecd6
authored
Jan 15, 2026
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
733dfa88
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentServiceImpl.java
+10
-8
No files found.
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentServiceImpl.java
View file @
c40cecd6
...
...
@@ -401,23 +401,25 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Result
edit
(
ApiAppointmentEditRequest
request
)
{
Integer
status
=
null
;
Integer
oldStatus
=
null
;
Integer
newStatus
=
null
;
Appointment
appointmentCheck
=
null
;
if
(!
Objects
.
isNull
(
request
.
getApiAppointmentInfoDto
()))
{
//校验预约信息是否存在
Result
<
Appointment
>
result
=
checkAppointmentIsExist
(
request
.
getApiAppointmentInfoDto
().
getAppointmentBizId
());
appointmentCheck
=
result
.
getData
();
oldStatus
=
appointmentCheck
.
getStatus
();
if
(
AppointmentStatusEnum
.
DWS
.
getItemValue
().
equals
(
appointmentCheck
.
getStatus
()))
{
//当前为待完善状态——>状态更新为预约中
s
tatus
=
AppointmentStatusEnum
.
YYZ
.
getItemValue
();
newS
tatus
=
AppointmentStatusEnum
.
YYZ
.
getItemValue
();
}
else
if
(
AppointmentStatusEnum
.
YQX
.
getItemValue
().
equals
(
appointmentCheck
.
getStatus
()))
{
//当前为已取消状态——>状态更新为预约中
s
tatus
=
AppointmentStatusEnum
.
YYZ
.
getItemValue
();
newS
tatus
=
AppointmentStatusEnum
.
YYZ
.
getItemValue
();
}
else
if
(
AppointmentStatusEnum
.
YYZ
.
getItemValue
().
equals
(
appointmentCheck
.
getStatus
()))
{
if
(
request
.
getSource
()
==
2
)
{
//当前生成新单跟进提交:
//当前状态为预约中 ——> 状态更新为预约成功 ——> 新增新单跟进记录
s
tatus
=
AppointmentStatusEnum
.
YY_CG
.
getItemValue
();
newS
tatus
=
AppointmentStatusEnum
.
YY_CG
.
getItemValue
();
}
}
}
...
...
@@ -427,7 +429,7 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
request
.
setApiAppointmentInfoDto
(
new
ApiAppointmentInfoDto
());
}
Result
<
Appointment
>
appointmentResult
=
editAppointmentData
(
request
.
getApiAppointmentInfoDto
(),
s
tatus
,
newS
tatus
,
request
.
getApiBeneficiaryInfoFzDto
().
getIsLegalBeneficiary
());
Appointment
appointment
=
appointmentResult
.
getData
();
...
...
@@ -465,9 +467,9 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
apiQuestionnairesFeignClient
.
answerSave
(
answerSaveRequest
);
}
if
(!
Objects
.
isNull
(
appointmentCheck
)
&&
request
.
getSource
()
==
2
&&
AppointmentStatusEnum
.
YYZ
.
getItemValue
().
equals
(
appointmentCheck
.
getStatus
())
)
{
if
(!
Objects
.
isNull
(
oldStatus
)
&&
AppointmentStatusEnum
.
YYZ
.
getItemValue
().
equals
(
oldStatus
)
&&
request
.
getSource
()
==
2
)
{
//生成新单跟进提交
//当前状态为预约中 ——> 状态更新为预约成功 ——> 更新FNA预约业务id和预约编号、新增新单跟进记录
//更新FNA预约业务id和预约编号
...
...
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