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
5d7680e8
Commit
5d7680e8
authored
Aug 29, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收货人限制修改审批日志数据完善
Signed-off-by:
zhengyi
<
landuo321@aliyun.com
>
parent
070e29d6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
32 deletions
+56
-32
OrderCargoControlServiceImpl.java
...rvice/orderCargoControl/OrderCargoControlServiceImpl.java
+56
-32
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/orderCargoControl/OrderCargoControlServiceImpl.java
View file @
5d7680e8
...
@@ -493,17 +493,25 @@ public class OrderCargoControlServiceImpl extends AbstractService<OrderCargoCont
...
@@ -493,17 +493,25 @@ public class OrderCargoControlServiceImpl extends AbstractService<OrderCargoCont
// TODO 审批取消、审批拒绝,待补充业务日志及其他细节
// TODO 审批取消、审批拒绝,待补充业务日志及其他细节
if
(
orderApprovalDO
.
getType
()
==
61
)
{
if
(
orderApprovalDO
.
getType
()
==
61
)
{
msg
=
result
==
3
?
"收货人限制修改申请取消"
:
"收货人限制修改申请拒绝"
;
msg
=
result
==
3
?
"收货人限制修改申请取消"
:
"收货人限制修改申请拒绝"
;
ApplyInfoVO
applyInfoVO
=
new
ApplyInfoVO
();
ApplyInfoVO
applyInfoVO
;
if
(
applyVO
.
getIsLimitUpdateConsignee
()
!=
applyVO
.
getNewIsLimitUpdateConsignee
())
{
applyInfoVO
=
new
ApplyInfoVO
();
applyInfoVO
.
setName
(
"是否限制修改收货人"
);
applyInfoVO
.
setName
(
"是否限制修改收货人"
);
applyInfoVO
.
setOrgValue
(
applyVO
.
getIsLimitUpdateConsignee
()
?
"是"
:
"否"
);
applyInfoVO
.
setOrgValue
(
applyVO
.
getIsLimitUpdateConsignee
()
?
"是"
:
"否"
);
applyInfoVO
.
setNewValue
(
applyVO
.
getNewIsLimitUpdateConsignee
()
?
"是"
:
"否"
);
applyInfoVO
.
setNewValue
(
applyVO
.
getNewIsLimitUpdateConsignee
()
?
"是"
:
"否"
);
list
.
add
(
applyInfoVO
);
list
.
add
(
applyInfoVO
);
}
if
((
Objects
.
nonNull
(
applyVO
.
getLockConsigneeDay
())
&&
Objects
.
nonNull
(
applyVO
.
getNewLockConsigneeDay
())
&&
!
Objects
.
equals
(
applyVO
.
getLockConsigneeDay
(),
applyVO
.
getNewLockConsigneeDay
()))
||
(
Objects
.
isNull
(
applyVO
.
getLockConsigneeDay
())
&&
Objects
.
nonNull
(
applyVO
.
getNewLockConsigneeDay
()))
||
(
Objects
.
nonNull
(
applyVO
.
getLockConsigneeDay
())
&&
Objects
.
isNull
(
applyVO
.
getNewLockConsigneeDay
())))
{
applyInfoVO
=
new
ApplyInfoVO
();
applyInfoVO
=
new
ApplyInfoVO
();
applyInfoVO
.
setName
(
"锁定收货人天数"
);
applyInfoVO
.
setName
(
"锁定收货人天数"
);
applyInfoVO
.
setOrgValue
(
Objects
.
isNull
(
applyVO
.
getLockConsigneeDay
())
?
"空"
:
applyVO
.
getLockConsigneeDay
()
+
"天"
);
applyInfoVO
.
setOrgValue
(
Objects
.
isNull
(
applyVO
.
getLockConsigneeDay
())
?
"空"
:
applyVO
.
getLockConsigneeDay
()
+
"天"
);
applyInfoVO
.
setNewValue
(
Objects
.
isNull
(
applyVO
.
getNewLockConsigneeDay
())
?
"空"
:
applyVO
.
getNewLockConsigneeDay
()
+
"天"
);
applyInfoVO
.
setNewValue
(
Objects
.
isNull
(
applyVO
.
getNewLockConsigneeDay
())
?
"空"
:
applyVO
.
getNewLockConsigneeDay
()
+
"天"
);
list
.
add
(
applyInfoVO
);
list
.
add
(
applyInfoVO
);
}
else
if
(
orderApprovalDO
.
getType
()
==
62
)
{
}
}
else
if
(
orderApprovalDO
.
getType
()
==
62
)
{
msg
=
result
==
3
?
"海外仓修改申请取消"
:
"海外仓修改申请拒绝"
;
msg
=
result
==
3
?
"海外仓修改申请取消"
:
"海外仓修改申请拒绝"
;
ApplyInfoVO
applyInfoVO
=
new
ApplyInfoVO
();
ApplyInfoVO
applyInfoVO
=
new
ApplyInfoVO
();
applyInfoVO
.
setName
(
"订单修改为海外仓模式"
);
applyInfoVO
.
setName
(
"订单修改为海外仓模式"
);
...
@@ -523,17 +531,25 @@ public class OrderCargoControlServiceImpl extends AbstractService<OrderCargoCont
...
@@ -523,17 +531,25 @@ public class OrderCargoControlServiceImpl extends AbstractService<OrderCargoCont
.
set
(
OrderDO:
:
getLockConsigneeTime
,
newLockConsigneeTime
)
.
set
(
OrderDO:
:
getLockConsigneeTime
,
newLockConsigneeTime
)
.
eq
(
OrderDO:
:
getOrderId
,
orderApprovalDO
.
getOrderId
()));
.
eq
(
OrderDO:
:
getOrderId
,
orderApprovalDO
.
getOrderId
()));
msg
=
"收货人限制修改申请审批通过"
;
msg
=
"收货人限制修改申请审批通过"
;
ApplyInfoVO
applyInfoVO
=
new
ApplyInfoVO
();
ApplyInfoVO
applyInfoVO
;
if
(
applyVO
.
getIsLimitUpdateConsignee
()
!=
applyVO
.
getNewIsLimitUpdateConsignee
())
{
applyInfoVO
=
new
ApplyInfoVO
();
applyInfoVO
.
setName
(
"是否限制修改收货人"
);
applyInfoVO
.
setName
(
"是否限制修改收货人"
);
applyInfoVO
.
setOrgValue
(
applyVO
.
getIsLimitUpdateConsignee
()
?
"是"
:
"否"
);
applyInfoVO
.
setOrgValue
(
applyVO
.
getIsLimitUpdateConsignee
()
?
"是"
:
"否"
);
applyInfoVO
.
setNewValue
(
applyVO
.
getNewIsLimitUpdateConsignee
()
?
"是"
:
"否"
);
applyInfoVO
.
setNewValue
(
applyVO
.
getNewIsLimitUpdateConsignee
()
?
"是"
:
"否"
);
list
.
add
(
applyInfoVO
);
list
.
add
(
applyInfoVO
);
}
if
((
Objects
.
nonNull
(
applyVO
.
getLockConsigneeDay
())
&&
Objects
.
nonNull
(
applyVO
.
getNewLockConsigneeDay
())
&&
!
Objects
.
equals
(
applyVO
.
getLockConsigneeDay
(),
applyVO
.
getNewLockConsigneeDay
()))
||
(
Objects
.
isNull
(
applyVO
.
getLockConsigneeDay
())
&&
Objects
.
nonNull
(
applyVO
.
getNewLockConsigneeDay
()))
||
(
Objects
.
nonNull
(
applyVO
.
getLockConsigneeDay
())
&&
Objects
.
isNull
(
applyVO
.
getNewLockConsigneeDay
())))
{
applyInfoVO
=
new
ApplyInfoVO
();
applyInfoVO
=
new
ApplyInfoVO
();
applyInfoVO
.
setName
(
"锁定收货人天数"
);
applyInfoVO
.
setName
(
"锁定收货人天数"
);
applyInfoVO
.
setOrgValue
(
Objects
.
isNull
(
applyVO
.
getLockConsigneeDay
())
?
"空"
:
applyVO
.
getLockConsigneeDay
()
+
"天"
);
applyInfoVO
.
setOrgValue
(
Objects
.
isNull
(
applyVO
.
getLockConsigneeDay
())
?
"空"
:
applyVO
.
getLockConsigneeDay
()
+
"天"
);
applyInfoVO
.
setNewValue
(
Objects
.
isNull
(
applyVO
.
getNewLockConsigneeDay
())
?
"空"
:
applyVO
.
getNewLockConsigneeDay
()
+
"天"
);
applyInfoVO
.
setNewValue
(
Objects
.
isNull
(
applyVO
.
getNewLockConsigneeDay
())
?
"空"
:
applyVO
.
getNewLockConsigneeDay
()
+
"天"
);
list
.
add
(
applyInfoVO
);
list
.
add
(
applyInfoVO
);
}
else
if
(
orderApprovalDO
.
getType
()
==
62
)
{
}
}
else
if
(
orderApprovalDO
.
getType
()
==
62
)
{
// TODO 海外仓修改申请
// TODO 海外仓修改申请
...
@@ -607,16 +623,24 @@ public class OrderCargoControlServiceImpl extends AbstractService<OrderCargoCont
...
@@ -607,16 +623,24 @@ public class OrderCargoControlServiceImpl extends AbstractService<OrderCargoCont
StringUtils
.
isNotBlank
(
orderCargoControlApplyVO
.
getCcIds
())
?
orderCargoControlApplyVO
.
getCcIds
().
split
(
StrUtil
.
COMMA
)
:
null
);
StringUtils
.
isNotBlank
(
orderCargoControlApplyVO
.
getCcIds
())
?
orderCargoControlApplyVO
.
getCcIds
().
split
(
StrUtil
.
COMMA
)
:
null
);
orderApprovalDO
.
setFormId
(
formId
);
orderApprovalDO
.
setFormId
(
formId
);
msg
=
"收货人限制修改申请"
;
msg
=
"收货人限制修改申请"
;
ApplyInfoVO
applyInfoVO
=
new
ApplyInfoVO
();
ApplyInfoVO
applyInfoVO
;
if
(
orderCargoControlApplyVO
.
getIsLimitUpdateConsignee
()
!=
orderCargoControlApplyVO
.
getNewIsLimitUpdateConsignee
())
{
applyInfoVO
=
new
ApplyInfoVO
();
applyInfoVO
.
setName
(
"是否限制修改收货人"
);
applyInfoVO
.
setName
(
"是否限制修改收货人"
);
applyInfoVO
.
setOrgValue
(
orderCargoControlApplyVO
.
getIsLimitUpdateConsignee
()
?
"是"
:
"否"
);
applyInfoVO
.
setOrgValue
(
orderCargoControlApplyVO
.
getIsLimitUpdateConsignee
()
?
"是"
:
"否"
);
applyInfoVO
.
setNewValue
(
orderCargoControlApplyVO
.
getNewIsLimitUpdateConsignee
()
?
"是"
:
"否"
);
applyInfoVO
.
setNewValue
(
orderCargoControlApplyVO
.
getNewIsLimitUpdateConsignee
()
?
"是"
:
"否"
);
list
.
add
(
applyInfoVO
);
list
.
add
(
applyInfoVO
);
}
if
((
Objects
.
nonNull
(
orderCargoControlApplyVO
.
getLockConsigneeDay
())
&&
Objects
.
nonNull
(
orderCargoControlApplyVO
.
getNewLockConsigneeDay
())
&&
!
Objects
.
equals
(
orderCargoControlApplyVO
.
getLockConsigneeDay
(),
orderCargoControlApplyVO
.
getNewLockConsigneeDay
()))
||
(
Objects
.
isNull
(
orderCargoControlApplyVO
.
getLockConsigneeDay
())
&&
Objects
.
nonNull
(
orderCargoControlApplyVO
.
getNewLockConsigneeDay
()))
||
(
Objects
.
nonNull
(
orderCargoControlApplyVO
.
getLockConsigneeDay
())
&&
Objects
.
isNull
(
orderCargoControlApplyVO
.
getNewLockConsigneeDay
())))
{
applyInfoVO
=
new
ApplyInfoVO
();
applyInfoVO
=
new
ApplyInfoVO
();
applyInfoVO
.
setName
(
"锁定收货人天数"
);
applyInfoVO
.
setName
(
"锁定收货人天数"
);
applyInfoVO
.
setOrgValue
(
Objects
.
isNull
(
orderCargoControlApplyVO
.
getLockConsigneeDay
())
?
"空"
:
orderCargoControlApplyVO
.
getLockConsigneeDay
()
+
"天"
);
applyInfoVO
.
setOrgValue
(
Objects
.
isNull
(
orderCargoControlApplyVO
.
getLockConsigneeDay
())
?
"空"
:
orderCargoControlApplyVO
.
getLockConsigneeDay
()
+
"天"
);
applyInfoVO
.
setNewValue
(
Objects
.
isNull
(
orderCargoControlApplyVO
.
getNewLockConsigneeDay
())
?
"空"
:
orderCargoControlApplyVO
.
getNewLockConsigneeDay
()
+
"天"
);
applyInfoVO
.
setNewValue
(
Objects
.
isNull
(
orderCargoControlApplyVO
.
getNewLockConsigneeDay
())
?
"空"
:
orderCargoControlApplyVO
.
getNewLockConsigneeDay
()
+
"天"
);
list
.
add
(
applyInfoVO
);
list
.
add
(
applyInfoVO
);
}
}
else
if
(
orderCargoControlApplyVO
.
getApplyType
()
==
62
)
{
}
else
if
(
orderCargoControlApplyVO
.
getApplyType
()
==
62
)
{
orderApprovalDO
.
setOrderId
(
orderCargoControlApplyVO
.
getOrderId
());
orderApprovalDO
.
setOrderId
(
orderCargoControlApplyVO
.
getOrderId
());
orderApprovalDO
.
setType
(
62
);
orderApprovalDO
.
setType
(
62
);
...
...
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