Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Jeepay
Commits
137db441
Commit
137db441
authored
Jan 26, 2022
by
terrfly
Browse files
分账mq不在判断订单状态;
parent
595e5101
Changes
1
Hide whitespace changes
Inline
Side-by-side
jeepay-payment/src/main/java/com/jeequan/jeepay/pay/service/PayOrderDivisionProcessService.java
View file @
137db441
...
...
@@ -90,14 +90,10 @@ public class PayOrderDivisionProcessService {
throw
new
BizException
(
"订单不存在"
);
}
// 订单不是成功状态 || 分账状态不正确
if
(
payOrder
.
getState
()
!=
PayOrder
.
STATE_SUCCESS
||
(
payOrder
.
getDivisionState
()
!=
PayOrder
.
DIVISION_STATE_WAIT_TASK
&&
payOrder
.
getDivisionState
()
!=
PayOrder
.
DIVISION_STATE_UNHAPPEN
)){
log
.
error
(
"{}, 订单状态或分账状态不正确"
,
logPrefix
);
throw
new
BizException
(
"订单状态或分账状态不正确"
);
// 分账状态不正确
if
(
payOrder
.
getDivisionState
()
!=
PayOrder
.
DIVISION_STATE_WAIT_TASK
&&
payOrder
.
getDivisionState
()
!=
PayOrder
.
DIVISION_STATE_UNHAPPEN
){
log
.
error
(
"{}, 分账状态不正确"
,
logPrefix
);
throw
new
BizException
(
"分账状态不正确"
);
}
//更新订单为: 分账任务处理中
...
...
Write
Preview
Supports
Markdown
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