Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
iClear-Connect-Pre-Clearance
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
tao.mo
2024-12-24 15:36:43 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
edc2d31b877f022013c92f85ed99fa000c319fea
edc2d31b
1 parent
45dfeea3
biz-customer | 修改 | 运单查询逻辑处理
mt 2024年12月24日15:36:39
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
server/biz-customer/src/main/java/com/fedex/connect/customer/util/service/biz/ConsignmentQueryUtil.java
server/biz-customer/src/main/java/com/fedex/connect/customer/util/service/biz/ConsignmentQueryUtil.java
View file @
edc2d31
...
...
@@ -27,12 +27,11 @@ public class ConsignmentQueryUtil {
Consignment
resultConsignment
=
null
;
if
(
Objects
.
nonNull
(
consignment
)){
//uuid相同,则将运单所有信息返回给到前端
if
(
userConsignmentInfoQuery
.
getUserUuid
().
equals
(
consignment
.
getUserUuid
(
))
||
userConsignmentInfoQuery
.
getShipperAccount
().
equals
(
consignment
.
getShipperAccount
(
))){
if
(
(
Objects
.
nonNull
(
userConsignmentInfoQuery
.
getUserUuid
())
&&
userConsignmentInfoQuery
.
getUserUuid
().
equals
(
consignment
.
getUserUuid
()
))
||
(
Objects
.
nonNull
(
userConsignmentInfoQuery
.
getShipperAccount
())
&&
userConsignmentInfoQuery
.
getShipperAccount
().
equals
(
consignment
.
getShipperAccount
()
))){
//1:如果运单UUID与登录账号UUID相同或者用户shipperAccount与运单shipperAccount相同,则显示运单、收发件人信息,以及501信息
resultConsignment
=
consignment
;
}
else
if
(
userConsignmentInfoQuery
.
getShipperAccount
().
equals
(
consignment
.
getUserInputShipperAccount
())
||
userConsignmentInfoQuery
.
getUserId
().
equals
(
consignment
.
getCreateUserId
())){
}
else
{
//如果运单UUID与登录账号UUID不同,用户shipperAccount与运单录入的shipperAccount一致,则只显示用户录入的运单号、shipperAccount、始发国
resultConsignment
=
new
Consignment
();
resultConsignment
.
setId
(
consignment
.
getId
());
...
...
Please
register
or
login
to post a comment