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
26b0efcd
Commit
26b0efcd
authored
Dec 27, 2021
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发佣检核9-发佣检核状态修正
parent
b1fee3c9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
yd-api/src/main/java/com/yd/api/agms/service/impl/AgmsFortuneServiceImpl.java
+1
-0
yd-api/src/main/java/com/yd/api/commission/service/impl/LifeCommissionServiceImpl.java
+1
-8
No files found.
yd-api/src/main/java/com/yd/api/agms/service/impl/AgmsFortuneServiceImpl.java
View file @
26b0efcd
...
@@ -241,6 +241,7 @@ public class AgmsFortuneServiceImpl implements AgmsFortuneService {
...
@@ -241,6 +241,7 @@ public class AgmsFortuneServiceImpl implements AgmsFortuneService {
fortune
.
setCommissionPayoutBy
(
loginId
);
fortune
.
setCommissionPayoutBy
(
loginId
);
fortune
.
setPayoutBatchId
(
payoutBatchId
);
fortune
.
setPayoutBatchId
(
payoutBatchId
);
fortune
.
setStatus
(
"2"
);
fortune
.
setStatus
(
"2"
);
fortune
.
setCommissionPayoutStatus
(
"2"
);
if
(
CommonUtil
.
isNullOrZero
(
withdrawId
)){
if
(
CommonUtil
.
isNullOrZero
(
withdrawId
)){
//需生成新的withdraw
//需生成新的withdraw
newFortunes
.
add
(
fortune
);
newFortunes
.
add
(
fortune
);
...
...
yd-api/src/main/java/com/yd/api/commission/service/impl/LifeCommissionServiceImpl.java
View file @
26b0efcd
...
@@ -364,14 +364,7 @@ public class LifeCommissionServiceImpl implements LifeCommissionService {
...
@@ -364,14 +364,7 @@ public class LifeCommissionServiceImpl implements LifeCommissionService {
// 查询对应的fortune记录
// 查询对应的fortune记录
List
<
AclCustomerFortune
>
fortuneList
=
customerFortuneDalService
.
queryLifeFortuneListByCommissionId
(
commissionId
);
List
<
AclCustomerFortune
>
fortuneList
=
customerFortuneDalService
.
queryLifeFortuneListByCommissionId
(
commissionId
);
// 更新fortune记录是否可发放
// 更新fortune记录是否可发放
String
fortuneCommissionPayoutStatus
=
"0"
;
//旧发佣检核状态字段
String
fortuneCommissionPayoutStatus
=
"3"
.
equals
(
status
)
?
"1"
:
"0"
;
//旧发佣检核状态字段
if
(
"1"
.
equals
(
status
))
{
fortuneCommissionPayoutStatus
=
"0"
;
}
else
if
(
"2"
.
equals
(
status
))
{
fortuneCommissionPayoutStatus
=
"2"
;
}
else
if
(
"3"
.
equals
(
status
))
{
fortuneCommissionPayoutStatus
=
"1"
;
}
if
(
fortuneList
.
size
()
>
0
)
{
if
(
fortuneList
.
size
()
>
0
)
{
// 批量设置fortune为可发佣
// 批量设置fortune为可发佣
...
...
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