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
b952fb3a
Commit
b952fb3a
authored
Nov 04, 2020
by
hezhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
846e0c12
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
BaseOrderAcceptDetailedBiz.java
...xiaoqi/security/admin/biz/BaseOrderAcceptDetailedBiz.java
+3
-1
OrderDetailBiz.java
...main/java/com/xxfc/platform/order/biz/OrderDetailBiz.java
+1
-0
VehicleExtensionMapper.xml
...rver/src/main/resources/mapper/VehicleExtensionMapper.xml
+2
-2
No files found.
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/biz/BaseOrderAcceptDetailedBiz.java
View file @
b952fb3a
...
@@ -335,15 +335,17 @@ public class BaseOrderAcceptDetailedBiz extends BaseBiz<BaseOrderAcceptDetailedM
...
@@ -335,15 +335,17 @@ public class BaseOrderAcceptDetailedBiz extends BaseBiz<BaseOrderAcceptDetailedM
if
(
violateAmount
.
compareTo
(
BigDecimal
.
ZERO
)
>
0
&&
orderDetailDTO
.
getOrderStatus
().
equals
(
OrderDetailDTO
.
DELAY
)){
if
(
violateAmount
.
compareTo
(
BigDecimal
.
ZERO
)
>
0
&&
orderDetailDTO
.
getOrderStatus
().
equals
(
OrderDetailDTO
.
DELAY
)){
acceptDetailed
.
setDivisionAmount
(
orderDetailDTO
.
getViolateAmount
());
acceptDetailed
.
setDivisionAmount
(
orderDetailDTO
.
getViolateAmount
());
acceptDetailed
.
setDivisionType
(
8
);
acceptDetailed
.
setDivisionType
(
8
);
acceptDetailed
.
setEntryType
(
orderDetailDTO
.
getGoodsDepositType
());
insertSelective
(
acceptDetailed
);
insertSelective
(
acceptDetailed
);
}
}
BigDecimal
lossSpecifiedAmount
=
orderDetailDTO
.
getLossSpecifiedAmount
()
==
null
?
BigDecimal
.
ZERO
:
orderDetailDTO
.
getLossSpecifiedAmount
()
;
//定损
BigDecimal
lossSpecifiedAmount
=
orderDetailDTO
.
getLossSpecifiedAmount
()
==
null
?
BigDecimal
.
ZERO
:
orderDetailDTO
.
getLossSpecifiedAmount
()
;
//定损
if
(
lossSpecifiedAmount
.
compareTo
(
BigDecimal
.
ZERO
)
>
0
){
if
(
lossSpecifiedAmount
.
compareTo
(
BigDecimal
.
ZERO
)
>
0
){
acceptDetailed
.
setDivisionAmount
(
lossSpecifiedAmount
);
acceptDetailed
.
setDivisionAmount
(
lossSpecifiedAmount
);
acceptDetailed
.
setDivisionType
(
6
);
acceptDetailed
.
setDivisionType
(
6
);
acceptDetailed
.
setEntryType
(
orderDetailDTO
.
getGoodsDepositType
());
insertSelective
(
acceptDetailed
);
insertSelective
(
acceptDetailed
);
}
}
BigDecimal
breakRulesRegulation
=
orderDetailDTO
.
get
LossSpecifiedAmount
()
==
null
?
BigDecimal
.
ZERO
:
orderDetailDTO
.
getBreakRulesRegulation
()
;
//违章
BigDecimal
breakRulesRegulation
=
orderDetailDTO
.
get
BreakRulesRegulation
()
==
null
?
BigDecimal
.
ZERO
:
orderDetailDTO
.
getBreakRulesRegulation
()
;
//违章
if
(
breakRulesRegulation
.
compareTo
(
BigDecimal
.
ZERO
)
>
0
){
if
(
breakRulesRegulation
.
compareTo
(
BigDecimal
.
ZERO
)
>
0
){
acceptDetailed
.
setDivisionAmount
(
breakRulesRegulation
);
acceptDetailed
.
setDivisionAmount
(
breakRulesRegulation
);
acceptDetailed
.
setDivisionType
(
7
);
acceptDetailed
.
setDivisionType
(
7
);
...
...
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/OrderDetailBiz.java
View file @
b952fb3a
...
@@ -98,6 +98,7 @@ public class OrderDetailBiz{
...
@@ -98,6 +98,7 @@ public class OrderDetailBiz{
orderDetailDTO
.
setOrderId
(
baseOrder
.
getId
());
orderDetailDTO
.
setOrderId
(
baseOrder
.
getId
());
orderDetailDTO
.
setUserId
(
baseOrder
.
getUserId
());
orderDetailDTO
.
setUserId
(
baseOrder
.
getUserId
());
orderDetailDTO
.
setOrderNo
(
baseOrder
.
getNo
());
orderDetailDTO
.
setOrderNo
(
baseOrder
.
getNo
());
orderDetailDTO
.
setGoodsDepositType
(
vehicleDetail
.
getGoodsDepositType
());
if
(
accountDetail
!=
null
){
if
(
accountDetail
!=
null
){
List
<
OrderAccountDeduction
>
deductions
=
accountDetail
.
getDeductions
();
List
<
OrderAccountDeduction
>
deductions
=
accountDetail
.
getDeductions
();
if
(
CollectionUtils
.
isNotEmpty
(
deductions
)){
if
(
CollectionUtils
.
isNotEmpty
(
deductions
)){
...
...
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleExtensionMapper.xml
View file @
b952fb3a
...
@@ -94,8 +94,8 @@
...
@@ -94,8 +94,8 @@
IF(e1.cata_id is NULL,0,1) as isParentSelected
IF(e1.cata_id is NULL,0,1) as isParentSelected
</when>
</when>
<when
test=
"cataIds != null and cataIds.size() > 0"
>
<when
test=
"cataIds != null and cataIds.size() > 0"
>
IF(
e
.cata_id is NULL,0,1) as isSelected,
IF(
c2
.cata_id is NULL,0,1) as isSelected,
IF(
e
1.cata_id is NULL,0,1) as isParentSelected
IF(
c
1.cata_id is NULL,0,1) as isParentSelected
</when>
</when>
<otherwise>
<otherwise>
0 as isSelected,
0 as isSelected,
...
...
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