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
7415404c
Commit
7415404c
authored
Dec 24, 2025
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预约-v1版本
parent
45f9f960
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
6 deletions
+17
-6
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentServiceImpl.java
+9
-3
yd-csf-feign/src/main/java/com/yd/csf/feign/request/appointment/ApiAppointmentEditRequest.java
+2
-2
yd-csf-service/src/main/java/com/yd/csf/service/model/Appointment.java
+6
-1
No files found.
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentServiceImpl.java
View file @
7415404c
...
...
@@ -398,8 +398,11 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
//当前为已取消状态——>状态更新为预约中
status
=
AppointmentStatusEnum
.
YYZ
.
getItemValue
();
}
else
if
(
AppointmentStatusEnum
.
YYZ
.
getItemValue
().
equals
(
appointmentCheck
.
getStatus
()))
{
//当前状态为预约中 ——> 状态更新为预约成功 ——> 新增新单跟进记录
status
=
AppointmentStatusEnum
.
YY_CG
.
getItemValue
();
if
(
request
.
getSource
()
==
2
)
{
//当前生成新单跟进提交:
//当前状态为预约中 ——> 状态更新为预约成功 ——> 新增新单跟进记录
status
=
AppointmentStatusEnum
.
YY_CG
.
getItemValue
();
}
}
}
...
...
@@ -443,7 +446,10 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
apiQuestionnairesFeignClient
.
answerSave
(
answerSaveRequest
);
}
if
(!
Objects
.
isNull
(
appointmentCheck
)
&&
AppointmentStatusEnum
.
YYZ
.
getItemValue
().
equals
(
appointmentCheck
.
getStatus
()))
{
if
(!
Objects
.
isNull
(
appointmentCheck
)
&&
request
.
getSource
()
==
2
&&
AppointmentStatusEnum
.
YYZ
.
getItemValue
().
equals
(
appointmentCheck
.
getStatus
()))
{
//生成新单跟进提交
//当前状态为预约中 ——> 状态更新为预约成功 ——> 更新FNA预约业务id和预约编号、新增新单跟进记录
//更新FNA预约业务id和预约编号
updateFnaBizIdAndNo
(
appointment
.
getFnaBizId
(),
appointment
.
getAppointmentBizId
(),
appointment
.
getAppointmentNo
());
...
...
yd-csf-feign/src/main/java/com/yd/csf/feign/request/appointment/ApiAppointmentEditRequest.java
View file @
7415404c
...
...
@@ -14,9 +14,9 @@ import java.util.List;
public
class
ApiAppointmentEditRequest
{
/**
* 来源 1-编辑提交 2-生成新单跟进
* 来源 1-编辑提交 2-生成新单跟进
提交
*/
private
Integer
source
;
private
Integer
source
=
1
;
/**
* 预约信息
...
...
yd-csf-service/src/main/java/com/yd/csf/service/model/Appointment.java
View file @
7415404c
...
...
@@ -95,7 +95,12 @@ public class Appointment implements Serializable {
private
String
togetherAppointmentNo
;
/**
* 预约状态: 0-暂存 1-待预约, 2-待签署 3-已签署 4-已取消(字典)
* 预约状态
* DWS("待完善",0),
* YYZ("预约中",1),
* YY_CG("预约成功",2),
* YQD("已签单",3),
* YQX("已取消",4)
*/
@TableField
(
"status"
)
private
Integer
status
;
...
...
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