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
5f341592
Commit
5f341592
authored
Feb 05, 2026
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
63dac3a5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
0 deletions
+34
-0
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentServiceImpl.java
+24
-0
yd-csf-service/src/main/java/com/yd/csf/service/service/PolicyFollowService.java
+2
-0
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/PolicyFollowServiceImpl.java
+8
-0
No files found.
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentServiceImpl.java
View file @
5f341592
...
@@ -1160,6 +1160,30 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
...
@@ -1160,6 +1160,30 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
appointment
.
setStatus
(
AppointmentStatusEnum
.
YQX
.
getItemValue
());
appointment
.
setStatus
(
AppointmentStatusEnum
.
YQX
.
getItemValue
());
}
}
iAppointmentService
.
saveOrUpdate
(
appointment
);
iAppointmentService
.
saveOrUpdate
(
appointment
);
//取消预约-更新新单跟进状态为:取消预约
if
(
2
==
request
.
getOprType
())
{
//取消预约-更新新单跟进状态为取消预约
editFollowStatus
(
request
.
getAppointmentBizId
());
}
return
Result
.
success
();
}
/**
* 取消预约-更新新单跟进状态为取消预约
* @return
*/
public
Result
editFollowStatus
(
String
appointmentBizId
)
{
List
<
PolicyFollow
>
followList
=
policyFollowService
.
queryListByAppointmentBizId
(
appointmentBizId
);
if
(!
CollectionUtils
.
isEmpty
(
followList
))
{
//更新当前预约ID绑定新单记录更新新单状态为取消预约。
followList
=
followList
.
stream
().
map
(
dto
->
{
//取消预约
dto
.
setStatus
(
"QX_YY"
);
return
dto
;
}).
collect
(
Collectors
.
toList
());
policyFollowService
.
saveOrUpdateBatch
(
followList
);
}
return
Result
.
success
();
return
Result
.
success
();
}
}
...
...
yd-csf-service/src/main/java/com/yd/csf/service/service/PolicyFollowService.java
View file @
5f341592
...
@@ -88,4 +88,6 @@ public interface PolicyFollowService extends IService<PolicyFollow> {
...
@@ -88,4 +88,6 @@ public interface PolicyFollowService extends IService<PolicyFollow> {
Page
<
PolicyNumberResponseVO
>
queryPolicyNumbers
(
PolicyNosQueryRequest
policyNosQueryRequest
);
Page
<
PolicyNumberResponseVO
>
queryPolicyNumbers
(
PolicyNosQueryRequest
policyNosQueryRequest
);
List
<
PolicyFollow
>
queryList
(
List
<
String
>
policyNoList
);
List
<
PolicyFollow
>
queryList
(
List
<
String
>
policyNoList
);
List
<
PolicyFollow
>
queryListByAppointmentBizId
(
String
appointmentBizId
);
}
}
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/PolicyFollowServiceImpl.java
View file @
5f341592
...
@@ -859,6 +859,14 @@ public class PolicyFollowServiceImpl extends ServiceImpl<PolicyFollowMapper, Pol
...
@@ -859,6 +859,14 @@ public class PolicyFollowServiceImpl extends ServiceImpl<PolicyFollowMapper, Pol
return
list
;
return
list
;
}
}
@Override
public
List
<
PolicyFollow
>
queryListByAppointmentBizId
(
String
appointmentBizId
)
{
List
<
PolicyFollow
>
list
=
baseMapper
.
selectList
(
new
LambdaQueryWrapper
<
PolicyFollow
>()
.
eq
(
StringUtils
.
isNotBlank
(
appointmentBizId
),
PolicyFollow:
:
getAppointmentBizId
,
appointmentBizId
)
);
return
list
;
}
/**
/**
* 转换为保单号查询响应视图
* 转换为保单号查询响应视图
*
*
...
...
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