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
919da54c
Commit
919da54c
authored
Sep 30, 2024
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
已预装未提交预装审核的订单补充出货状态更新冗余
parent
a30bdf3c
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
1 deletion
+9
-1
update_2024-09.sql
sql/update_2024-09.sql
+2
-0
OrderStatusMsgEnum.java
.../iocoder/yudao/module/order/enums/OrderStatusMsgEnum.java
+3
-1
BoxPreloadGoodsServiceImpl.java
...t/service/boxPreloadGoods/BoxPreloadGoodsServiceImpl.java
+2
-0
messages_en.properties
yudao-server/src/main/resources/i18n/messages_en.properties
+1
-0
messages_zh.properties
yudao-server/src/main/resources/i18n/messages_zh.properties
+1
-0
No files found.
sql/update_2024-09.sql
0 → 100644
View file @
919da54c
-- 更新订单添加预装但未提交审核的出货状态值
update
ecw_order
o
set
o
.
shipment_state
=
304
WHERE
o
.
`status`
=
5
AND
o
.
shipment_state
=
0
AND
(
select
COUNT
(
1
)
from
ecw_box_preload_goods
pg
WHERE
pg
.
order_id
=
o
.
order_id
AND
pg
.
deleted
=
0
)
>
0
;
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/enums/OrderStatusMsgEnum.java
View file @
919da54c
...
@@ -29,7 +29,9 @@ public enum OrderStatusMsgEnum {
...
@@ -29,7 +29,9 @@ public enum OrderStatusMsgEnum {
ADJUST_WAREHOUSE
(
5
,
10113
,
215
,
0
,
"调仓已到仓"
,
"order.status.adjust.arrived.warehouse"
,
"order.status.adjust.arrived.warehouse"
),
ADJUST_WAREHOUSE
(
5
,
10113
,
215
,
0
,
"调仓已到仓"
,
"order.status.adjust.arrived.warehouse"
,
"order.status.adjust.arrived.warehouse"
),
EXIT_WAREHOUSE
(
5
,
10114
,
216
,
0
,
"报关退场已入仓"
,
"order.status.adjust.demobilized.warehoused"
,
"order.status.warehousing"
),
EXIT_WAREHOUSE
(
5
,
10114
,
216
,
0
,
"报关退场已入仓"
,
"order.status.adjust.demobilized.warehoused"
,
"order.status.warehousing"
),
PREINSTALL_EXAMINE
(
5
,
10115
,
0
,
305
,
"预装审核中"
,
"order.status.pre.install.review"
,
"order.status.pre.install.review"
),
PRE_INSTALLED_PROGRESS
(
5
,
10115
,
0
,
304
,
"已入仓"
,
"order.status.warehousing"
,
"order.status.warehousing"
),
// PRE_INSTALLED_PROGRESS(5, 10115, 0, 304, "预装中", "order.status.pre.install", "order.status.pre.install"),
PREINSTALL_EXAMINE
(
5
,
10116
,
0
,
305
,
"预装审核中"
,
"order.status.pre.install.review"
,
"order.status.pre.install.review"
),
WITHDRAWN
(
7
,
0
,
0
,
0
,
"已退仓"
,
"Withdrawn"
,
"order.status.draft"
),
WITHDRAWN
(
7
,
0
,
0
,
0
,
"已退仓"
,
"Withdrawn"
,
"order.status.draft"
),
...
...
yudao-module-shipment/yudao-module-shipment-core/src/main/java/cn/iocoder/yudao/module/shipment/service/boxPreloadGoods/BoxPreloadGoodsServiceImpl.java
View file @
919da54c
...
@@ -449,6 +449,8 @@ public class BoxPreloadGoodsServiceImpl extends AbstractService<BoxPreloadGoodsM
...
@@ -449,6 +449,8 @@ public class BoxPreloadGoodsServiceImpl extends AbstractService<BoxPreloadGoodsM
//修改为预装中
//修改为预装中
boxDO
.
setPrStatus
(
PrStatusEnum
.
PRELOAD_ING
.
getPrStatus
());
boxDO
.
setPrStatus
(
PrStatusEnum
.
PRELOAD_ING
.
getPrStatus
());
boxService
.
updateById
(
boxDO
);
boxService
.
updateById
(
boxDO
);
boxService
.
updateOrderStatus
(
orderId
,
null
,
null
,
BoxStatusEnum
.
PREINSTALLING
.
getStatus
(),
null
,
null
,
Boolean
.
FALSE
);
boxService
.
addOrderLog
(
Collections
.
singletonList
(
orderId
),
OrderShipmentLog
.
PRELOAD_ADD
,
""
);
boxService
.
addOrderLog
(
Collections
.
singletonList
(
orderId
),
OrderShipmentLog
.
PRELOAD_ADD
,
""
);
}
else
if
(
boxDO
.
getPrStatus
()
==
PrStatusEnum
.
PRELOAD_APPROVAL_SUCCESS
.
getPrStatus
())
{
}
else
if
(
boxDO
.
getPrStatus
()
==
PrStatusEnum
.
PRELOAD_APPROVAL_SUCCESS
.
getPrStatus
())
{
//补单。修改订单状态
//补单。修改订单状态
...
...
yudao-server/src/main/resources/i18n/messages_en.properties
View file @
919da54c
...
@@ -353,6 +353,7 @@ order.status.adjust.wait.out.warehouse=Transfer warehouse to be out of warehouse
...
@@ -353,6 +353,7 @@ order.status.adjust.wait.out.warehouse=Transfer warehouse to be out of warehouse
order.status.adjust.wait.in.warehouse
=
Transferred warehouse to be warehoused
order.status.adjust.wait.in.warehouse
=
Transferred warehouse to be warehoused
order.status.adjust.arrived.warehouse
=
Warehouse transfer has arrived
order.status.adjust.arrived.warehouse
=
Warehouse transfer has arrived
order.status.adjust.demobilized.warehoused
=
Demobilized and warehoused
order.status.adjust.demobilized.warehoused
=
Demobilized and warehoused
order.status.pre.install
=
Pre installed
order.status.pre.install.review
=
Pre installation under review
order.status.pre.install.review
=
Pre installation under review
order.status.preinstalled
=
Preinstalled
order.status.preinstalled
=
Preinstalled
order.status.dispatched.car.wait.pick.counter
=
The car has been dispatched, waiting to pick up the counter
order.status.dispatched.car.wait.pick.counter
=
The car has been dispatched, waiting to pick up the counter
...
...
yudao-server/src/main/resources/i18n/messages_zh.properties
View file @
919da54c
...
@@ -354,6 +354,7 @@ order.status.adjust.wait.out.warehouse=\u8C03\u4ED3\u5F85\u51FA\u4ED3
...
@@ -354,6 +354,7 @@ order.status.adjust.wait.out.warehouse=\u8C03\u4ED3\u5F85\u51FA\u4ED3
order.status.adjust.wait.in.warehouse
=
\u
8C03
\u
4ED3
\u
5F85
\u5165\u
4ED3
order.status.adjust.wait.in.warehouse
=
\u
8C03
\u
4ED3
\u
5F85
\u5165\u
4ED3
order.status.adjust.arrived.warehouse
=
\u
8C03
\u
4ED3
\u
5DF2
\u5230\u
4ED3
order.status.adjust.arrived.warehouse
=
\u
8C03
\u
4ED3
\u
5DF2
\u5230\u
4ED3
order.status.adjust.demobilized.warehoused
=
\u9000\u
573A
\u
5DF2
\u5165\u
4ED3
order.status.adjust.demobilized.warehoused
=
\u9000\u
573A
\u
5DF2
\u5165\u
4ED3
order.status.pre.install
=
\u9884\u
88C5
\u
4E2D
order.status.pre.install.review
=
\u9884\u
88C5
\u
5BA1
\u6838\u
4E2D
order.status.pre.install.review
=
\u9884\u
88C5
\u
5BA1
\u6838\u
4E2D
order.status.preinstalled
=
\u
5DF2
\u9884\u
88C5
order.status.preinstalled
=
\u
5DF2
\u9884\u
88C5
order.status.dispatched.car.wait.pick.counter
=
\u
5DF2
\u
6D3E
\u
8F66
\u
FF0C
\u
5F85
\u
63D0
\u
67DC
order.status.dispatched.car.wait.pick.counter
=
\u
5DF2
\u
6D3E
\u
8F66
\u
FF0C
\u
5F85
\u
63D0
\u
67DC
...
...
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