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
be35be29
Commit
be35be29
authored
Nov 20, 2025
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新单跟进69
parent
81ade4db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentServiceImpl.java
+23
-0
No files found.
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentServiceImpl.java
View file @
be35be29
...
...
@@ -18,6 +18,7 @@ import com.yd.csf.feign.request.appointment.*;
import
com.yd.csf.feign.response.appointment.ApiAppointmentAddResponse
;
import
com.yd.csf.feign.response.appointment.ApiAppointmentDetailResponse
;
import
com.yd.csf.feign.response.appointment.ApiAppointmentPageResponse
;
import
com.yd.csf.service.dto.PolicySigner
;
import
com.yd.csf.service.enums.AppointmentStatusEnum
;
import
com.yd.csf.service.enums.PolicyFollowStatusEnum
;
import
com.yd.csf.service.enums.PolicyStatusEnum
;
...
...
@@ -518,6 +519,8 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
}
//产品名称
follow
.
setProductName
(
apiProductPlanMainInfoDto
.
getProductName
());
//签单员列表
setSignerList
(
follow
,
appointment
);
}
policyFollowService
.
saveOrUpdate
(
follow
);
...
...
@@ -540,6 +543,26 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
return
Result
.
success
();
}
private
void
setSignerList
(
PolicyFollow
follow
,
Appointment
appointment
)
{
List
<
PolicySigner
>
signerList
=
new
ArrayList
<>();
PolicySigner
signer
=
new
PolicySigner
();
if
(!
Objects
.
isNull
(
appointment
.
getBusinessNo
()))
{
signer
.
setRegistrationNumber
(
appointment
.
getBusinessNo
());
}
if
(!
Objects
.
isNull
(
appointment
.
getBusinessRepresentName1
()))
{
signer
.
setSigner
(
appointment
.
getBusinessRepresentName1
());
}
if
(!
Objects
.
isNull
(
appointment
.
getBusinessRepresentMobile1
()))
{
signer
.
setPhone
(
appointment
.
getBusinessRepresentMobile1
());
}
if
(!
Objects
.
isNull
(
appointment
.
getBusinessRepresentEmail1
()))
{
signer
.
setEmail
(
appointment
.
getBusinessRepresentEmail1
());
}
signerList
.
add
(
signer
);
follow
.
setSignerList
(
GSONUtil
.
toJson
(
signerList
));
}
private
void
savePolicyQuestionnaire
(
String
appointmentBizId
,
String
policyBizId
)
{
// 当前登录用户
AuthUserDto
currentLoginUser
=
SecurityUtil
.
getCurrentLoginUser
();
...
...
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