Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-backend
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
AutogeneralShanghai
yd-backend
Commits
33c290d2
Commit
33c290d2
authored
Jul 14, 2021
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
续年佣金计算-已比对的数据不能改为已退保15
parent
c6ebf224
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
yd-api/src/main/java/com/yd/api/commission/service/impl/LifeCommissionServiceImpl.java
+16
-0
No files found.
yd-api/src/main/java/com/yd/api/commission/service/impl/LifeCommissionServiceImpl.java
View file @
33c290d2
...
...
@@ -85,6 +85,22 @@ public class LifeCommissionServiceImpl implements LifeCommissionService {
resp
.
setCommonResult
(
new
CommonResult
(
false
,
"检核日期不能为空"
));
return
resp
;
}
// 已退保时,提示不能修改已比对的数据
if
(
"3"
.
equals
(
status
))
{
StringBuffer
stringBuffer
=
new
StringBuffer
(
"已比对的数据不能改为已退保: "
);
for
(
ComeCommissionParams
params:
paramsList
)
{
if
(
StringUtils
.
isNotBlank
(
params
.
getCommissionNo
()))
{
AgPoOrderCommission
agPoOrderCommission
=
orderCommissionMapper
.
selectByCommissionNo
(
params
.
getCommissionNo
());
if
(
agPoOrderCommission
!=
null
&&
"2"
.
equals
(
agPoOrderCommission
.
getCommissionStatus
()))
{
stringBuffer
.
append
(
params
.
getCommissionNo
()).
append
(
" "
);
}
}
}
if
(
StringUtils
.
isNotBlank
(
stringBuffer
.
toString
()))
{
resp
.
setCommonResult
(
new
CommonResult
(
false
,
stringBuffer
.
toString
()));
return
resp
;
}
}
try
{
// 1.检核续年佣金时先判断,前面期数的佣金是否检核过
...
...
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