Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform
Commits
563533e6
Commit
563533e6
authored
Oct 17, 2019
by
hezhen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://113.105.137.151:22280/youjj/cloud-platform
into dev
parents
1e3de37e
e5e30a7f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
OrderMsgBiz.java
...n/java/com/xxfc/platform/order/biz/inner/OrderMsgBiz.java
+6
-0
No files found.
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/inner/OrderMsgBiz.java
View file @
563533e6
...
...
@@ -283,9 +283,11 @@ public class OrderMsgBiz {
if
(
null
!=
orvd
.
getEndCompanyId
()
&&
!
SYS_FALSE
.
equals
(
orvd
.
getEndCompanyId
()))
{
//新的账单 记录 OUT_ORDER_FUND 返回订单款取消订单
//查询 201, "取消订单退款" 并且状态为真
OrderAccount
orderAccount
=
orderAccountBiz
.
selectOne
(
new
OrderAccount
(){{
setOrderId
(
baseOrder
.
getId
());
setAccountType
(
AccountTypeEnum
.
OUT_ORDER_FUND
.
getCode
());
setAccountStatus
(
SYS_TRUE
);
}});
if
(
BigDecimal
.
ZERO
.
equals
(
orderAccount
.
getDeductAmount
()))
{
...
...
@@ -422,9 +424,11 @@ public class OrderMsgBiz {
OrderAccount
orderAccount
;
if
(
RefundStatusEnum
.
RESIDUE_ILLEGAL
.
getCode
().
equals
(
baseOrder
.
getRefundStatus
()))
{
smstype
=
SmsTemplateDTO
.
REFUND_A
;
//查询 203, "部分押金(扣除该扣除的 + 保留违章预备金)" 并且状态为真
orderAccount
=
orderAccountBiz
.
selectOne
(
new
OrderAccount
(){{
setOrderId
(
baseOrder
.
getId
());
setAccountType
(
AccountTypeEnum
.
OUT_PART_DEPOSIT
.
getCode
());
setAccountStatus
(
SYS_TRUE
);
}});
OrderAccountDetail
oad
=
JSONUtil
.
toBean
(
orderAccount
.
getAccountDetail
(),
OrderAccountDetail
.
class
);
...
...
@@ -447,9 +451,11 @@ public class OrderMsgBiz {
residueAmount
=
orvd
.
getReturnPayResidue
();
}
else
if
(
RefundStatusEnum
.
REFUND_DEPOSIT
.
getCode
().
equals
(
baseOrder
.
getRefundStatus
())){
smstype
=
SmsTemplateDTO
.
REFUND_B
;
//查询 204, "剩余押金(扣除该扣除的)" 并且状态为真
orderAccount
=
orderAccountBiz
.
selectOne
(
new
OrderAccount
(){{
setOrderId
(
baseOrder
.
getId
());
setAccountType
(
AccountTypeEnum
.
OUT_RESIDUE_DEPOSIT
.
getCode
());
setAccountStatus
(
SYS_TRUE
);
}});
originalAmount
=
orderAccount
.
getOriginalAmount
();
violateAmount
=
orderAccount
.
getDeductAmount
();
...
...
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