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
435f94ed
Commit
435f94ed
authored
Dec 10, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
理货补单日志文案逻辑补充
parent
e55a9540
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
OrderShipmentLog.java
...iocoder/yudao/module/shipment/enums/OrderShipmentLog.java
+1
-0
BoxPreloadGoodsServiceImpl.java
...t/service/boxPreloadGoods/BoxPreloadGoodsServiceImpl.java
+3
-3
BoxPreloadGoodsCreateReqVO.java
...ipment/vo/boxPreloadGoods/BoxPreloadGoodsCreateReqVO.java
+3
-0
No files found.
yudao-module-shipment/yudao-module-shipment-core/src/main/java/cn/iocoder/yudao/module/shipment/enums/OrderShipmentLog.java
View file @
435f94ed
...
...
@@ -4,6 +4,7 @@ public enum OrderShipmentLog {
PRELOAD_ADD
(
"添加预装"
),
PRELOAD_REMOVE
(
"移出预装单"
),
TALLY
(
"理货"
),
TALLY_PATCH
(
"理货补单"
),
CABINET_SPLIT_REQUEST
(
"提交装柜拆单申请"
),
CABINET_SPLIT_RESULT_FAIL
(
"提交装柜拆单失败"
),
CABINET_SPLIT_RESULT_SUCCESS
(
"提交装柜拆单通过"
),
...
...
yudao-module-shipment/yudao-module-shipment-core/src/main/java/cn/iocoder/yudao/module/shipment/service/boxPreloadGoods/BoxPreloadGoodsServiceImpl.java
View file @
435f94ed
...
...
@@ -404,7 +404,7 @@ public class BoxPreloadGoodsServiceImpl extends AbstractService<BoxPreloadGoodsM
}
//生成提单号
boxService
.
generateBillLadingNo
(
shipmentId
,
false
,
false
);
boxService
.
addOrderLog
(
orderIdList
,
OrderShipmentLog
.
CABINET
_PATCH
,
""
);
boxService
.
addOrderLog
(
orderIdList
,
createReqVO
.
getIsTally
()
==
0
?
OrderShipmentLog
.
CABINET_PATCH
:
OrderShipmentLog
.
TALLY
_PATCH
,
""
);
}
else
{
for
(
Long
oId
:
orderIdList
)
{
boxService
.
updateOrderStatus
(
oId
,
null
,
null
,
...
...
@@ -2515,7 +2515,7 @@ public class BoxPreloadGoodsServiceImpl extends AbstractService<BoxPreloadGoodsM
//生成提单号
boxService
.
generateBillLadingNo
(
shipmentId
,
true
,
false
);
boxService
.
addOrderLog
(
orderIdList
,
OrderShipmentLog
.
MERGE
_PATCH
,
""
);
boxService
.
addOrderLog
(
orderIdList
,
createReqVO
.
getIsTally
()
==
0
?
OrderShipmentLog
.
MERGE_PATCH
:
OrderShipmentLog
.
TALLY
_PATCH
,
""
);
}
else
{
for
(
Long
oId
:
orderIdList
)
{
boxService
.
updateOrderStatus
(
oId
,
null
,
null
,
...
...
@@ -2856,7 +2856,7 @@ public class BoxPreloadGoodsServiceImpl extends AbstractService<BoxPreloadGoodsM
OrderApprovalTypeCheckEvent
guanLianApprovalTypeCheckEvent
=
new
OrderApprovalTypeCheckEvent
(
o
.
getOrderId
(),
null
,
null
,
Arrays
.
asList
(
6
,
11
,
13
,
14
,
22
,
23
),
false
);
applicationContext
.
publishEvent
(
guanLianApprovalTypeCheckEvent
);
return
guanLianApprovalTypeCheckEvent
.
getResult
();
}
else
{
}
else
{
// 关联单有异常或未完成入仓
return
true
;
}
...
...
yudao-module-shipment/yudao-module-shipment-core/src/main/java/cn/iocoder/yudao/module/shipment/vo/boxPreloadGoods/BoxPreloadGoodsCreateReqVO.java
View file @
435f94ed
...
...
@@ -28,6 +28,9 @@ public class BoxPreloadGoodsCreateReqVO {
@ApiModelProperty
(
value
=
"是否是补单,0-不是,1-是"
)
private
Integer
isCover
=
0
;
@ApiModelProperty
(
value
=
"是否是理货补单,0-不是,1-是"
)
private
Integer
isTally
=
0
;
@ApiModelProperty
(
value
=
"关联关系,1-不校验互斥, 2-不校验关联"
)
private
Integer
relationStatus
;
...
...
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