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
9ecc84db
Commit
9ecc84db
authored
Nov 22, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
放货逻辑判断修正
parent
f3cfe028
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
OrderCargoControlPickServiceImpl.java
...derCargoControlPick/OrderCargoControlPickServiceImpl.java
+6
-5
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/orderCargoControlPick/OrderCargoControlPickServiceImpl.java
View file @
9ecc84db
...
@@ -164,11 +164,12 @@ public class OrderCargoControlPickServiceImpl extends AbstractService<OrderCargo
...
@@ -164,11 +164,12 @@ public class OrderCargoControlPickServiceImpl extends AbstractService<OrderCargo
throw
exception
(
ORDER_CARGO_CONTROL_NUM_GO_BEYOND
);
throw
exception
(
ORDER_CARGO_CONTROL_NUM_GO_BEYOND
);
}
}
// 如果控货订单限制修改收货人,则需要判断控货收货人限制修改时间是否到期,且当前放货操作的收货人电话是否有变动
// 如果控货订单限制修改收货人,则需要判断控货收货人限制修改时间是否到期,且当前放货操作的收货人电话是否有变动
if
(
orderDO
.
getIsLimitUpdateConsignee
()
&&
Objects
.
isNull
(
orderDO
.
getLockConsigneeTime
()))
{
// if (orderDO.getIsLimitUpdateConsignee() && Objects.isNull(orderDO.getLockConsigneeTime())) {
// 当前控货订单限制修改收货人,但是未到仓/卸柜,未查询到限制时间
// // 当前控货订单限制修改收货人,但是未到仓/卸柜,未查询到限制时间
throw
exception
(
ORDER_CARGO_CONTROL_LIMIT_UPDATE_CONSIGNEE_ERROR
);
// throw exception(ORDER_CARGO_CONTROL_LIMIT_UPDATE_CONSIGNEE_ERROR);
}
// }
if
(
orderDO
.
getIsLimitUpdateConsignee
()
&&
Objects
.
nonNull
(
orderDO
.
getLockConsigneeTime
())
&&
orderDO
.
getLockConsigneeTime
().
compareTo
(
new
Date
())
>=
0
)
{
// 当前控货订单限制修改收货人,但是未到仓/卸柜(没有限制时间),或者限制时间未到期
if
(
orderDO
.
getIsLimitUpdateConsignee
()
&&
(
Objects
.
isNull
(
orderDO
.
getLockConsigneeTime
())
||
(
Objects
.
nonNull
(
orderDO
.
getLockConsigneeTime
())
&&
orderDO
.
getLockConsigneeTime
().
compareTo
(
new
Date
())
>=
0
)))
{
// 控货收货人限制修改时间未到期,需要判断当前放货操作的收货人电话是否有变动
// 控货收货人限制修改时间未到期,需要判断当前放货操作的收货人电话是否有变动
OrderCargoControlReleaseInfoDto
releaseInfoDto
=
orderCargoControlMapper
.
getOrderCargoControlReleaseInfo
(
orderDO
.
getOrderId
());
OrderCargoControlReleaseInfoDto
releaseInfoDto
=
orderCargoControlMapper
.
getOrderCargoControlReleaseInfo
(
orderDO
.
getOrderId
());
if
(
StringUtils
.
isBlank
(
releaseInfoDto
.
getConsigneeCountryCode
())
||
StringUtils
.
isBlank
(
releaseInfoDto
.
getConsigneePhone
()))
{
if
(
StringUtils
.
isBlank
(
releaseInfoDto
.
getConsigneeCountryCode
())
||
StringUtils
.
isBlank
(
releaseInfoDto
.
getConsigneePhone
()))
{
...
...
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