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
e845e3c1
Commit
e845e3c1
authored
Nov 07, 2025
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新单跟进53
parent
469f3dbc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/PolicyFollowServiceImpl.java
+11
-0
No files found.
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/PolicyFollowServiceImpl.java
View file @
e845e3c1
...
...
@@ -314,6 +314,17 @@ public class PolicyFollowServiceImpl extends ServiceImpl<PolicyFollowMapper, Pol
// 校验状态
validPolicyFollowStatus
(
currentStatusEnum
,
policyFollowStatusEnum
);
// 保单号和转接人都有的情况下,才能修改为已完成状态
if
(
PolicyFollowStatusEnum
.
FINISHED
.
equals
(
policyFollowStatusEnum
))
{
if
(
StringUtils
.
isBlank
(
policyFollow
.
getPolicyNo
()))
{
throw
new
BusinessException
(
ResultCode
.
PARAM_CHECK_ERROR
.
getCode
(),
"保单号和转接人都不能为空,才能修改为已完成状态"
);
}
boolean
exists
=
policyBrokerService
.
exists
(
new
QueryWrapper
<
PolicyBroker
>().
eq
(
"policy_biz_id"
,
policyBizId
));
if
(!
exists
)
{
throw
new
BusinessException
(
ResultCode
.
PARAM_CHECK_ERROR
.
getCode
(),
"保单号和转接人都不能为空,才能修改为已完成状态"
);
}
}
// 获取当前登录用户
AuthUserDto
currentLoginUser
=
SecurityUtil
.
getCurrentLoginUser
();
String
loginUserId
=
currentLoginUser
.
getId
().
toString
();
...
...
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