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
fe2b7c60
Commit
fe2b7c60
authored
Nov 06, 2025
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新单跟进41
parent
0c290d46
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/CommissionServiceImpl.java
+8
-2
No files found.
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/CommissionServiceImpl.java
View file @
fe2b7c60
...
...
@@ -38,12 +38,12 @@ public class CommissionServiceImpl extends ServiceImpl<CommissionMapper, Commiss
@Resource
private
FortuneService
fortuneService
;
@Resource
private
PolicyFollowService
policyFollowService
;
@Resource
private
PolicyBrokerService
policyBrokerService
;
@Resource
private
PolicyService
policyService
;
@Override
public
QueryWrapper
<
Commission
>
getQueryWrapper
(
CommissionQueryRequest
commissionQueryRequest
)
{
...
...
@@ -166,6 +166,12 @@ public class CommissionServiceImpl extends ServiceImpl<CommissionMapper, Commiss
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Boolean
addCommission
(
CommissionAddRequest
commissionAddRequest
)
{
// 校验来佣所属保单是否存在
String
policyNo
=
commissionAddRequest
.
getPolicyNo
();
Policy
policy
=
policyService
.
getOne
(
new
QueryWrapper
<
Policy
>().
eq
(
"policy_no"
,
policyNo
));
if
(
policy
==
null
)
{
throw
new
BusinessException
(
ResultCode
.
NULL_ERROR
.
getCode
(),
"该保单不存在"
);
}
// 获取当前登录用户
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