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
58bea253
Commit
58bea253
authored
Jun 26, 2024
by
lanbaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-06-26-3提交
parent
6511ebe3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
12 deletions
+9
-12
OrderBusinessServiceImpl.java
...le/order/service/order/impl/OrderBusinessServiceImpl.java
+5
-3
OrderWarehouseInServiceImpl.java
...service/orderWarehouseIn/OrderWarehouseInServiceImpl.java
+3
-8
OrderWarehouseInController.java
...er/admin/orderWarehouseIn/OrderWarehouseInController.java
+1
-1
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 @
58bea253
...
@@ -2181,8 +2181,8 @@ public class OrderBusinessServiceImpl extends AbstractService<OrderMapper, Order
...
@@ -2181,8 +2181,8 @@ public class OrderBusinessServiceImpl extends AbstractService<OrderMapper, Order
Long
consigneeCustomerContactsId
,
Long
consigneeCustomerContactsId
,
List
<
OrderItemDO
>
orderItemDOList
,
List
<
OrderItemDO
>
orderItemDOList
,
Integer
type
)
{
Integer
type
)
{
//2023-7月之前应收金额没有按四舍五入取整,之后都是按四舍五入取整处理的
//2023-7月之前应收金额没有按四舍五入取整,之后都是按四舍五入取整处理的
//lanbm 2024-06-20 添加注释说明逻辑
LogisticsInfoDto
logisticsInfoDto
=
LogisticsInfoDto
logisticsInfoDto
=
warehouseLineMapper
.
getStartInfoAndDestInfoByLineId
(
warehouseLineMapper
.
getStartInfoAndDestInfoByLineId
(
...
@@ -2502,8 +2502,10 @@ public class OrderBusinessServiceImpl extends AbstractService<OrderMapper, Order
...
@@ -2502,8 +2502,10 @@ public class OrderBusinessServiceImpl extends AbstractService<OrderMapper, Order
if
(
Objects
.
isNull
(
warehouseInInfoVO
))
{
if
(
Objects
.
isNull
(
warehouseInInfoVO
))
{
s
+=
" warehouseInInfoVO 为空,"
;
s
+=
" warehouseInInfoVO 为空,"
;
}
}
s
+=
"getCartonsNum:"
+
if
(
Objects
.
isNull
(
warehouseInInfoVO
)==
false
)
{
warehouseInInfoVO
.
getCartonsNum
();
s
+=
"getCartonsNum:"
+
warehouseInInfoVO
.
getCartonsNum
();
}
zTest
m
=
new
zTest
();
zTest
m
=
new
zTest
();
m
.
setTestname
(
s
);
m
.
setTestname
(
s
);
m
.
setCreatedate
(
new
Date
());
m
.
setCreatedate
(
new
Date
());
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/orderWarehouseIn/OrderWarehouseInServiceImpl.java
View file @
58bea253
...
@@ -1112,11 +1112,9 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
...
@@ -1112,11 +1112,9 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
boolean
isNotRollbackIn
=
boolean
isNotRollbackIn
=
Boolean
.
FALSE
.
equals
(
finishReqVO
.
getIsRollbackIn
());
Boolean
.
FALSE
.
equals
(
finishReqVO
.
getIsRollbackIn
());
if
(
isNotRollbackIn
&&
!
finishReqVO
.
getIsSplitIn
())
{
if
(
isNotRollbackIn
&&
!
finishReqVO
.
getIsSplitIn
())
{
// 订单排单校验
// 订单排单校验
applicationContext
.
publishEvent
(
applicationContext
.
publishEvent
(
new
BoxCheckOrderSchedulingEvent
(
orderId
));
new
BoxCheckOrderSchedulingEvent
(
orderId
));
// 校验是否有已核销的应收单,如果有,则不能再次入仓修改
// 校验是否有已核销的应收单,如果有,则不能再次入仓修改
receivableService
.
verificationReceivableIsWriteOff
(
orderDO
.
getOrderId
(),
null
);
receivableService
.
verificationReceivableIsWriteOff
(
orderDO
.
getOrderId
(),
null
);
}
}
...
@@ -1131,11 +1129,9 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
...
@@ -1131,11 +1129,9 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
String
manualExceptionType
=
finishReqVO
.
getManualExceptionType
();
String
manualExceptionType
=
finishReqVO
.
getManualExceptionType
();
if
(
StringUtils
.
isNotEmpty
(
manualExceptionType
))
{
if
(
StringUtils
.
isNotEmpty
(
manualExceptionType
))
{
msg
=
"订单转异"
;
msg
=
"订单转异"
;
// 异常影像
// 异常影像
orderWarehousePictureService
.
createWarehousePictureBatch
(
orderWarehousePictureService
.
createWarehousePictureBatch
(
finishReqVO
.
getExceptionUrls
(),
4
,
orderId
);
finishReqVO
.
getExceptionUrls
(),
4
,
orderId
);
// 异常
// 异常
String
descZh
=
getOrderOtherExceptionDesc
(
manualExceptionType
,
0
,
finishReqVO
.
getDescZh
(),
finishReqVO
.
getDescEn
());
String
descZh
=
getOrderOtherExceptionDesc
(
manualExceptionType
,
0
,
finishReqVO
.
getDescZh
(),
finishReqVO
.
getDescEn
());
String
descEn
=
getOrderOtherExceptionDesc
(
manualExceptionType
,
1
,
finishReqVO
.
getDescZh
(),
finishReqVO
.
getDescEn
());
String
descEn
=
getOrderOtherExceptionDesc
(
manualExceptionType
,
1
,
finishReqVO
.
getDescZh
(),
finishReqVO
.
getDescEn
());
...
@@ -1182,7 +1178,6 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
...
@@ -1182,7 +1178,6 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
// 生成特需应收
// 生成特需应收
orderSpecialNeedService
.
buildSpecialReceivable
(
orderId
,
1
);
orderSpecialNeedService
.
buildSpecialReceivable
(
orderId
,
1
);
List
<
OrderWarehouseInDO
>
orderWarehouseInDOList
=
List
<
OrderWarehouseInDO
>
orderWarehouseInDOList
=
orderWarehouseInMapper
.
selectList
(
OrderWarehouseInDO:
:
getOrderId
,
orderWarehouseInMapper
.
selectList
(
OrderWarehouseInDO:
:
getOrderId
,
orderDO
.
getOrderId
());
orderDO
.
getOrderId
());
...
@@ -1193,7 +1188,8 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
...
@@ -1193,7 +1188,8 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
finishReqVO
.
getIsSumWeightNoChange
(),
finishReqVO
.
getIsSumWeightNoChange
(),
finishReqVO
.
getIsSumVolumeNoChange
());
finishReqVO
.
getIsSumVolumeNoChange
());
List
<
ChannelPackagingOverWeightAdditionalBo
>
channelPackagingOverWeightAdditionalBoList
=
new
ArrayList
<>();
List
<
ChannelPackagingOverWeightAdditionalBo
>
channelPackagingOverWeightAdditionalBoList
=
new
ArrayList
<>();
if
(!
isSplitOrderChildren
&&
isNotRollbackIn
)
{
if
(!
isSplitOrderChildren
&&
isNotRollbackIn
)
{
channelPackagingOverWeightAdditionalBoList
=
channelPackagingOverWeightAdditionalBoList
=
genChannelPackagingOverweightAdditionalBoList
(
orderDO
,
orderWarehouseInDOList
);
genChannelPackagingOverweightAdditionalBoList
(
orderDO
,
orderWarehouseInDOList
);
...
@@ -1253,7 +1249,6 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
...
@@ -1253,7 +1249,6 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
// 20230115 拆单子订单入仓不需要产生除转异外的其他异常,
// 20230115 拆单子订单入仓不需要产生除转异外的其他异常,
// 同时也不需要重新计算价格; 退场入仓也不需要产生异常
// 同时也不需要重新计算价格; 退场入仓也不需要产生异常
if
(!
isSplitOrderChildren
&&
isNotRollbackIn
)
{
if
(!
isSplitOrderChildren
&&
isNotRollbackIn
)
{
//处理重泡货异常
//处理重泡货异常
boolean
finishStocked
=
false
;
boolean
finishStocked
=
false
;
if
((
Objects
.
equals
(
orderDO
.
getTransportId
(),
TransportTypeShortEnum
.
AIR_FREIGHT_LINE
.
getValue
())
if
((
Objects
.
equals
(
orderDO
.
getTransportId
(),
TransportTypeShortEnum
.
AIR_FREIGHT_LINE
.
getValue
())
...
@@ -1281,7 +1276,7 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
...
@@ -1281,7 +1276,7 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
boolean
firstRucang
=
orderDO
.
getRucangTime
()
==
null
;
boolean
firstRucang
=
orderDO
.
getRucangTime
()
==
null
;
if
(
firstRucang
)
{
if
(
firstRucang
)
{
//在下面的函数中完成费用计算
lanbm 2024-06-20 添加注释
//在下面的函数中完成费用计算
orderService
.
finishOrderWarehouseIn
(
orderDO
.
getOrderId
());
orderService
.
finishOrderWarehouseIn
(
orderDO
.
getOrderId
());
}
else
{
}
else
{
orderService
.
finishOrderWarehouseInUpdate
(
orderDO
.
getOrderId
());
orderService
.
finishOrderWarehouseInUpdate
(
orderDO
.
getOrderId
());
...
...
yudao-module-order/yudao-module-order-rest/src/main/java/cn/iocoder/yudao/module/order/controller/admin/orderWarehouseIn/OrderWarehouseInController.java
View file @
58bea253
...
@@ -74,7 +74,7 @@ public class OrderWarehouseInController {
...
@@ -74,7 +74,7 @@ public class OrderWarehouseInController {
/*
/*
创建入仓,保存入仓记录
lanbm 2024-05-28 添加注释
创建入仓,保存入仓记录
渠道,关联可出商品属性
渠道,关联可出商品属性
SELECT * from ecw_channel
SELECT * from ecw_channel
SELECT * from ecw_product_attr
SELECT * from ecw_product_attr
...
...
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