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
0d67351f
Commit
0d67351f
authored
Aug 29, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收货人限制修改申请业务参数判断bug修改
Signed-off-by:
zhengyi
<
landuo321@aliyun.com
>
parent
566ffccb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
OrderCargoControlServiceImpl.java
...rvice/orderCargoControl/OrderCargoControlServiceImpl.java
+14
-14
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/orderCargoControl/OrderCargoControlServiceImpl.java
View file @
0d67351f
...
...
@@ -532,20 +532,20 @@ public class OrderCargoControlServiceImpl extends AbstractService<OrderCargoCont
.
eq
(
OrderDO:
:
getOrderId
,
orderApprovalDO
.
getOrderId
()));
msg
=
"收货人限制修改申请审批通过"
;
ApplyInfoVO
applyInfoVO
;
if
(
applyV
O
.
getIsLimitUpdateConsignee
()
!=
applyVO
.
getNewIsLimitUpdateConsignee
())
{
if
(
orderD
O
.
getIsLimitUpdateConsignee
()
!=
applyVO
.
getNewIsLimitUpdateConsignee
())
{
applyInfoVO
=
new
ApplyInfoVO
();
applyInfoVO
.
setName
(
"是否限制修改收货人"
);
applyInfoVO
.
setOrgValue
(
applyV
O
.
getIsLimitUpdateConsignee
()
?
"是"
:
"否"
);
applyInfoVO
.
setOrgValue
(
orderD
O
.
getIsLimitUpdateConsignee
()
?
"是"
:
"否"
);
applyInfoVO
.
setNewValue
(
applyVO
.
getNewIsLimitUpdateConsignee
()
?
"是"
:
"否"
);
list
.
add
(
applyInfoVO
);
}
if
((
Objects
.
nonNull
(
applyV
O
.
getLockConsigneeDay
())
&&
Objects
.
nonNull
(
applyVO
.
getNewLockConsigneeDay
())
&&
!
Objects
.
equals
(
applyV
O
.
getLockConsigneeDay
(),
applyVO
.
getNewLockConsigneeDay
()))
||
(
Objects
.
isNull
(
applyV
O
.
getLockConsigneeDay
())
&&
Objects
.
nonNull
(
applyVO
.
getNewLockConsigneeDay
()))
||
(
Objects
.
nonNull
(
applyV
O
.
getLockConsigneeDay
())
&&
Objects
.
isNull
(
applyVO
.
getNewLockConsigneeDay
())))
{
if
((
Objects
.
nonNull
(
orderD
O
.
getLockConsigneeDay
())
&&
Objects
.
nonNull
(
applyVO
.
getNewLockConsigneeDay
())
&&
!
Objects
.
equals
(
orderD
O
.
getLockConsigneeDay
(),
applyVO
.
getNewLockConsigneeDay
()))
||
(
Objects
.
isNull
(
orderD
O
.
getLockConsigneeDay
())
&&
Objects
.
nonNull
(
applyVO
.
getNewLockConsigneeDay
()))
||
(
Objects
.
nonNull
(
orderD
O
.
getLockConsigneeDay
())
&&
Objects
.
isNull
(
applyVO
.
getNewLockConsigneeDay
())))
{
applyInfoVO
=
new
ApplyInfoVO
();
applyInfoVO
.
setName
(
"锁定收货人天数"
);
applyInfoVO
.
setOrgValue
(
Objects
.
isNull
(
applyVO
.
getLockConsigneeDay
())
?
"空"
:
applyV
O
.
getLockConsigneeDay
()
+
"天"
);
applyInfoVO
.
setOrgValue
(
Objects
.
isNull
(
orderDO
.
getLockConsigneeDay
())
?
"空"
:
orderD
O
.
getLockConsigneeDay
()
+
"天"
);
applyInfoVO
.
setNewValue
(
Objects
.
isNull
(
applyVO
.
getNewLockConsigneeDay
())
?
"空"
:
applyVO
.
getNewLockConsigneeDay
()
+
"天"
);
list
.
add
(
applyInfoVO
);
}
...
...
@@ -624,20 +624,20 @@ public class OrderCargoControlServiceImpl extends AbstractService<OrderCargoCont
orderApprovalDO
.
setFormId
(
formId
);
msg
=
"收货人限制修改申请"
;
ApplyInfoVO
applyInfoVO
;
if
(
order
CargoControlApplyV
O
.
getIsLimitUpdateConsignee
()
!=
orderCargoControlApplyVO
.
getNewIsLimitUpdateConsignee
())
{
if
(
order
D
O
.
getIsLimitUpdateConsignee
()
!=
orderCargoControlApplyVO
.
getNewIsLimitUpdateConsignee
())
{
applyInfoVO
=
new
ApplyInfoVO
();
applyInfoVO
.
setName
(
"是否限制修改收货人"
);
applyInfoVO
.
setOrgValue
(
order
CargoControlApplyV
O
.
getIsLimitUpdateConsignee
()
?
"是"
:
"否"
);
applyInfoVO
.
setOrgValue
(
order
D
O
.
getIsLimitUpdateConsignee
()
?
"是"
:
"否"
);
applyInfoVO
.
setNewValue
(
orderCargoControlApplyVO
.
getNewIsLimitUpdateConsignee
()
?
"是"
:
"否"
);
list
.
add
(
applyInfoVO
);
}
if
((
Objects
.
nonNull
(
order
CargoControlApplyV
O
.
getLockConsigneeDay
())
&&
Objects
.
nonNull
(
orderCargoControlApplyVO
.
getNewLockConsigneeDay
())
&&
!
Objects
.
equals
(
order
CargoControlApplyV
O
.
getLockConsigneeDay
(),
orderCargoControlApplyVO
.
getNewLockConsigneeDay
()))
||
(
Objects
.
isNull
(
order
CargoControlApplyV
O
.
getLockConsigneeDay
())
&&
Objects
.
nonNull
(
orderCargoControlApplyVO
.
getNewLockConsigneeDay
()))
||
(
Objects
.
nonNull
(
order
CargoControlApplyV
O
.
getLockConsigneeDay
())
&&
Objects
.
isNull
(
orderCargoControlApplyVO
.
getNewLockConsigneeDay
())))
{
if
((
Objects
.
nonNull
(
order
D
O
.
getLockConsigneeDay
())
&&
Objects
.
nonNull
(
orderCargoControlApplyVO
.
getNewLockConsigneeDay
())
&&
!
Objects
.
equals
(
order
D
O
.
getLockConsigneeDay
(),
orderCargoControlApplyVO
.
getNewLockConsigneeDay
()))
||
(
Objects
.
isNull
(
order
D
O
.
getLockConsigneeDay
())
&&
Objects
.
nonNull
(
orderCargoControlApplyVO
.
getNewLockConsigneeDay
()))
||
(
Objects
.
nonNull
(
order
D
O
.
getLockConsigneeDay
())
&&
Objects
.
isNull
(
orderCargoControlApplyVO
.
getNewLockConsigneeDay
())))
{
applyInfoVO
=
new
ApplyInfoVO
();
applyInfoVO
.
setName
(
"锁定收货人天数"
);
applyInfoVO
.
setOrgValue
(
Objects
.
isNull
(
order
CargoControlApplyVO
.
getLockConsigneeDay
())
?
"空"
:
orderCargoControlApplyV
O
.
getLockConsigneeDay
()
+
"天"
);
applyInfoVO
.
setOrgValue
(
Objects
.
isNull
(
order
DO
.
getLockConsigneeDay
())
?
"空"
:
orderD
O
.
getLockConsigneeDay
()
+
"天"
);
applyInfoVO
.
setNewValue
(
Objects
.
isNull
(
orderCargoControlApplyVO
.
getNewLockConsigneeDay
())
?
"空"
:
orderCargoControlApplyVO
.
getNewLockConsigneeDay
()
+
"天"
);
list
.
add
(
applyInfoVO
);
}
...
...
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