Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-api-boot-master
Commits
e6f9312f
Commit
e6f9312f
authored
Mar 05, 2025
by
332784038@qq.com
Committed by
wux
Mar 20, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批量特价付费模式变动修改审批通过bug修复
parent
42da0f55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
OrderServiceImpl.java
...dao/module/order/service/order/impl/OrderServiceImpl.java
+22
-0
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/order/impl/OrderServiceImpl.java
View file @
e6f9312f
...
...
@@ -5488,6 +5488,18 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
applyInfoVO
.
setName
(
vo
.
getProdTitleZh
()
+
"清关费管理折扣"
);
applyInfoVO
.
setOrgValue
(
vo
.
getOrgClearanceFreight
().
toString
()
+
currencyRespDTOMap
.
get
(
vo
.
getClearanceFreightCurrency
().
intValue
()).
getTitleZh
()
+
"/"
+
unitRespDtoMap
.
get
(
vo
.
getClearanceFreightVolume
().
intValue
()).
getTitleZh
());
applyInfoVO
.
setNewValue
(
vo
.
getClearanceFreight
().
toString
()
+
currencyRespDTOMap
.
get
(
vo
.
getClearanceFreightCurrency
().
intValue
()).
getTitleZh
()
+
"/"
+
unitRespDtoMap
.
get
(
vo
.
getClearanceFreightVolume
().
intValue
()).
getTitleZh
());
if
(
vo
.
getOrgCharging
()
==
0
)
{
applyInfoVO
.
setOrgValue
(
vo
.
getOrgClearanceFreight
().
toString
()
+
currencyRespDTOMap
.
get
(
vo
.
getOrgClearanceFreightCurrency
().
intValue
()).
getTitleZh
()
+
"/"
+
unitRespDtoMap
.
get
(
vo
.
getClearanceFreightVolume
().
intValue
()).
getTitleZh
());
}
else
{
applyInfoVO
.
setOrgValue
(
"无/none"
);
}
if
(
vo
.
getCharging
()
==
0
)
{
applyInfoVO
.
setNewValue
(
vo
.
getClearanceFreight
().
toString
()
+
currencyRespDTOMap
.
get
(
vo
.
getClearanceFreightCurrency
().
intValue
()).
getTitleZh
()
+
"/"
+
unitRespDtoMap
.
get
(
vo
.
getClearanceFreightVolume
().
intValue
()).
getTitleZh
());
}
else
{
//
vo
.
setClearanceFreight
(
BigDecimal
.
ZERO
);
applyInfoVO
.
setOrgValue
(
"无/none"
);
}
applyInfoVOList
.
add
(
applyInfoVO
);
}
// TODO 订单核销前都可以申请
...
...
@@ -5692,7 +5704,12 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
// 需要标记为固定成交单价, 且需要重置批量加价金额为0
oi
.
setCharging
(
batchApplyOrderItemDetailVO
.
getCharging
());
oi
.
setOneClearanceFreight
(
batchApplyOrderItemDetailVO
.
getClearanceFreight
());
oi
.
setOneClearanceFreight
(
Objects
.
nonNull
(
batchApplyOrderItemDetailVO
.
getClearanceFreight
())?
batchApplyOrderItemDetailVO
.
getClearanceFreight
():
BigDecimal
.
ZERO
);
oi
.
setClearanceFreightCurrency
(
batchApplyOrderItemDetailVO
.
getClearanceFreightCurrency
().
intValue
());
oi
.
setClearanceFreightVolume
(
batchApplyOrderItemDetailVO
.
getClearanceFreightVolume
());
oi
.
setOneSeaFreight
(
batchApplyOrderItemDetailVO
.
getFreight
());
oi
.
setSeaFreightCurrency
(
batchApplyOrderItemDetailVO
.
getFreightCurrency
().
intValue
());
oi
.
setSeaFreightVolume
(
batchApplyOrderItemDetailVO
.
getFreightVolume
());
oi
.
setMarkupSeaFreight
(
BigDecimal
.
ZERO
);
oi
.
setMarkupClearanceFreight
(
BigDecimal
.
ZERO
);
oi
.
setIsPriced
(
Boolean
.
TRUE
);
...
...
@@ -5760,7 +5777,12 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
// 需要标记为固定成交单价, 且需要重置批量加价金额为0
oi
.
setCharging
(
specialApplyVO
.
getCharging
());
oi
.
setOneClearanceFreight
(
specialApplyVO
.
getClearanceFreight
());
oi
.
setOneClearanceFreight
(
Objects
.
nonNull
(
specialApplyVO
.
getClearanceFreight
())?
specialApplyVO
.
getClearanceFreight
():
BigDecimal
.
ZERO
);
oi
.
setClearanceFreightCurrency
(
specialApplyVO
.
getClearanceFreightCurrency
().
intValue
());
oi
.
setClearanceFreightVolume
(
specialApplyVO
.
getClearanceFreightVolume
());
oi
.
setOneSeaFreight
(
specialApplyVO
.
getFreight
());
oi
.
setSeaFreightCurrency
(
specialApplyVO
.
getFreightCurrency
().
intValue
());
oi
.
setSeaFreightVolume
(
specialApplyVO
.
getFreightVolume
());
oi
.
setMarkupSeaFreight
(
BigDecimal
.
ZERO
);
oi
.
setMarkupClearanceFreight
(
BigDecimal
.
ZERO
);
oi
.
setIsPriced
(
Boolean
.
TRUE
);
...
...
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