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
42bc18e1
Commit
42bc18e1
authored
Dec 04, 2020
by
周健威
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature_chw_zjw' into dev-chw
parents
fcdfb77f
7091e9b5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
4 deletions
+11
-4
BaseOrderAcceptDetailedBiz.java
...xiaoqi/security/admin/biz/BaseOrderAcceptDetailedBiz.java
+1
-0
BaseOrderBiz.java
...c/main/java/com/xxfc/platform/order/biz/BaseOrderBiz.java
+5
-2
OrderCancelBiz.java
...ava/com/xxfc/platform/order/biz/inner/OrderCancelBiz.java
+5
-2
No files found.
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/biz/BaseOrderAcceptDetailedBiz.java
View file @
42bc18e1
...
@@ -220,6 +220,7 @@ public class BaseOrderAcceptDetailedBiz extends BaseBiz<BaseOrderAcceptDetailedM
...
@@ -220,6 +220,7 @@ public class BaseOrderAcceptDetailedBiz extends BaseBiz<BaseOrderAcceptDetailedM
public
void
addInsure
(
OrderDetailDTO
orderDetailDTO
,
Integer
status
){
public
void
addInsure
(
OrderDetailDTO
orderDetailDTO
,
Integer
status
){
BigDecimal
insureAmount
=
orderDetailDTO
.
getInsureAmount
()
==
null
?
BigDecimal
.
ZERO
:
orderDetailDTO
.
getInsureAmount
();
BigDecimal
insureAmount
=
orderDetailDTO
.
getInsureAmount
()
==
null
?
BigDecimal
.
ZERO
:
orderDetailDTO
.
getInsureAmount
();
log
.
info
(
"-----保险分账---insureAmount===="
+
insureAmount
);
if
(
insureAmount
.
compareTo
(
BigDecimal
.
ZERO
)
>
0
){
if
(
insureAmount
.
compareTo
(
BigDecimal
.
ZERO
)
>
0
){
Integer
type
=
status
==
1
?
2
:
1
;
Integer
type
=
status
==
1
?
2
:
1
;
BaseOrderAcceptDetailed
acceptDetailed
=
new
BaseOrderAcceptDetailed
();
BaseOrderAcceptDetailed
acceptDetailed
=
new
BaseOrderAcceptDetailed
();
...
...
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/BaseOrderBiz.java
View file @
42bc18e1
...
@@ -854,8 +854,11 @@ public class BaseOrderBiz extends BaseBiz<BaseOrderMapper, BaseOrder> implements
...
@@ -854,8 +854,11 @@ public class BaseOrderBiz extends BaseBiz<BaseOrderMapper, BaseOrder> implements
}});
}});
//更新 申请状态
//更新 申请状态
insuranceList
.
forEach
(
insurance
->
{
insuranceList
.
forEach
(
insurance
->
{
insurance
.
setStatus
(
STATUS_PAY
);
orderPersonInsuranceBiz
.
updateSelectiveById
(
new
OrderPersonInsurance
(){{
insurance
.
setPayTime
(
DateUtil
.
date
().
getTime
());
setId
(
insurance
.
getId
());
setStatus
(
STATUS_PAY
);
setPayTime
(
DateUtil
.
date
().
getTime
());
}});
});
});
}
}
}
finally
{
}
finally
{
...
...
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/inner/OrderCancelBiz.java
View file @
42bc18e1
...
@@ -314,8 +314,11 @@ public class OrderCancelBiz {
...
@@ -314,8 +314,11 @@ public class OrderCancelBiz {
baseOrder
.
setInsureStatus
(
BaseOrder
.
INSURE_STATUS_CNL
);
baseOrder
.
setInsureStatus
(
BaseOrder
.
INSURE_STATUS_CNL
);
//更新 申请状态
//更新 申请状态
insuranceList
.
forEach
(
insurance
->
{
insuranceList
.
forEach
(
insurance
->
{
insurance
.
setStatus
(
STATUS_CNL
);
orderPersonInsuranceBiz
.
updateSelectiveById
(
new
OrderPersonInsurance
(){{
insurance
.
setRefundTime
(
DateUtil
.
date
().
getTime
());
setId
(
insurance
.
getId
());
setStatus
(
STATUS_CNL
);
setRefundTime
(
DateUtil
.
date
().
getTime
());
}});
});
});
}
}
...
...
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