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
0064e451
Commit
0064e451
authored
Jan 07, 2025
by
wux
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release' of
http://110.41.143.128:8081/lanbaoming/jiedao-api-boot-master
into release
parents
cd1173d7
fe70ed10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
14 deletions
+15
-14
OrderBusinessServiceImpl.java
...le/order/service/order/impl/OrderBusinessServiceImpl.java
+15
-14
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/order/impl/OrderBusinessServiceImpl.java
View file @
0064e451
...
...
@@ -1100,16 +1100,16 @@ public class OrderBusinessServiceImpl extends AbstractService<OrderMapper, Order
if
(
Objects
.
nonNull
(
orderItemDO
.
getIsPayAdvance
())
&&
orderItemDO
.
getIsPayAdvance
()
==
1
)
{
if
(!
Objects
.
equals
(
orderDO
.
getInWarehouseState
(),
OrderWarehouseInStatusEnum
.
warehouse_finished
.
getValue
())
&&
orderDO
.
getShipmentState
()
==
0
&&
Objects
.
nonNull
(
orderItemDO
.
getWarehouseInInfoVO
())
&&
orderItemDO
.
getWarehouseInInfoVO
().
getCartonsNum
()
>
0
)
{
continue
;
}
isPayAdvanceException
=
true
;
}
else
{
if
(!
Objects
.
equals
(
orderDO
.
getShipmentState
(),
OrderStatusMsgEnum
.
PRE_INSTALLED
.
getShipmentState
())
&&
!
Objects
.
equals
(
orderDO
.
getShipmentState
(),
OrderStatusMsgEnum
.
WAREHOUSED
.
getShipmentState
()))
{
continue
;
}
}
// else {
// if (!Objects.equals(orderDO.getShipmentState(), OrderStatusMsgEnum.PRE_INSTALLED.getShipmentState()) && !Objects.equals(orderDO.getShipmentState(), OrderStatusMsgEnum.WAREHOUSED.getShipmentState())) {
// continue;
// }
// }
//运费
this
.
createReceivable
(
orderDO
,
orderItemDO
,
1
,
...
...
@@ -1160,18 +1160,19 @@ public class OrderBusinessServiceImpl extends AbstractService<OrderMapper, Order
if
(
type
==
1
)
{
// 未生成应收时,根据预付状态判断当前订单状态是否生成应收单
if
(
Objects
.
nonNull
(
orderItemDO
.
getIsPayAdvance
())
&&
orderItemDO
.
getIsPayAdvance
()
==
1
)
{
if
(!
Objects
.
equals
(
orderDO
.
getInWarehouseState
(),
OrderWarehouseInStatusEnum
.
warehouse_finished
.
getValue
())
&&
orderDO
.
getShipmentState
()
==
0
&&
Objects
.
nonNull
(
orderItemDO
.
getWarehouseInInfoVO
())
&&
orderItemDO
.
getWarehouseInInfoVO
().
getCartonsNum
()
>
0
)
{
if
(!
Objects
.
equals
(
orderDO
.
getInWarehouseState
(),
OrderWarehouseInStatusEnum
.
warehouse_finished
.
getValue
())
&&
orderDO
.
getShipmentState
()
==
0
// && Objects.nonNull(orderItemDO.getWarehouseInInfoVO())
&&
orderItemDO
.
getWarehouseInInfoVO
().
getCartonsNum
()
>
0
)
{
continue
;
}
isPayAdvanceException
=
true
;
}
else
{
if
(!
Objects
.
equals
(
orderDO
.
getShipmentState
(),
OrderStatusMsgEnum
.
PRE_INSTALLED
.
getShipmentState
())
&&
!
Objects
.
equals
(
orderDO
.
getShipmentState
(),
OrderStatusMsgEnum
.
WAREHOUSED
.
getShipmentState
()))
{
continue
;
}
}
// else {
// if (!Objects.equals(orderDO.getShipmentState(), OrderStatusMsgEnum.PRE_INSTALLED.getShipmentState()) && !Objects.equals(orderDO.getShipmentState(), OrderStatusMsgEnum.WAREHOUSED.getShipmentState())) {
// continue;
// }
// }
this
.
createReceivable
(
orderDO
,
orderItemDO
,
2
,
orderItemDO
.
getOneClearanceFreight
(),
orderItemDO
.
getClearanceFreight
(),
orderItemDO
.
getClearanceFreightCurrency
());
}
}
else
{
...
...
@@ -2776,7 +2777,7 @@ public class OrderBusinessServiceImpl extends AbstractService<OrderMapper, Order
// 处理未报价时,如果是已入仓产品去生成应收
isPayAdvanceException
=
this
.
addOrderReceivable
(
orderDO
,
1
);
}
else
if
(
orderDO
.
getShipmentState
()
>
0
)
{
}
else
if
(
orderDO
.
getShipmentState
()
>
0
||
type
==
18
)
{
// 已出货订单修改计价都需要更新应收单
isPayAdvanceException
=
this
.
addOrderReceivable
(
orderDO
,
1
);
...
...
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