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-19 16:43:33 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2345d62e8fce0d61073d6abf74771e701cdc3d7f
2345d62e
1 parent
9cec5e26
biz-customer | 修改 | 运单信息更新逻辑调整
mt 2024年12月19日16:43:28
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
server/biz-customer/src/main/java/com/fedex/connect/customer/util/service/biz/ConsignmentUtil.java
server/biz-customer/src/main/java/com/fedex/connect/customer/util/service/biz/ConsignmentUtil.java
View file @
2345d62
...
...
@@ -58,25 +58,26 @@ public class ConsignmentUtil {
//如果最近30天内没有提交过该运单,则新建
if
(
consignment
==
null
){
consignment
=
new
Consignment
();
/******提交信息记录******/
consignment
.
setCreateTime
(
nowDate
);
consignment
.
setCreateUserName
(
user
.
getUserName
());
consignment
.
setCreateUserId
(
user
.
getId
());
//用户录入数据拷贝
BeanUtils
.
copyProperties
(
consignmentBo
,
consignment
);
}
else
{
//用户录入shipperaccount
consignment
.
setUserInputShipperAccount
(
consignmentBo
.
getShipperAccount
());
//始发国名称
consignment
.
setUserInputOriginCountry
(
consignmentBo
.
getOriginCountry
());
//始发国编码
consignment
.
setUserInputOriginCountryCode
(
consignmentBo
.
getOriginCountryCode
());
}
//用户录入数据拷贝
BeanUtils
.
copyProperties
(
consignmentBo
,
consignment
);
//用户录入shipperaccount
consignment
.
setUserInputShipperAccount
(
consignmentBo
.
getShipperAccount
());
//始发国名称
consignment
.
setUserInputOriginCountry
(
consignmentBo
.
getOriginCountry
());
//始发国编码
consignment
.
setUserInputOriginCountryCode
(
consignmentBo
.
getOriginCountryCode
());
/******提交信息记录******/
consignment
.
setCreateTime
(
nowDate
);
consignment
.
setCreateUserName
(
user
.
getUserName
());
consignment
.
setCreateUserId
(
user
.
getId
());
}
else
{
consignment
.
setModifyTime
(
nowDate
);
consignment
.
setModifyUserName
(
user
.
getUserName
());
consignment
.
setModifyUserId
(
user
.
getId
());
}
if
(
!
StringUtils
.
isEmpty
(
consignment
.
getFirstSubmitter
())){
if
(
StringUtils
.
isEmpty
(
consignment
.
getFirstSubmitter
())){
consignment
.
setFirstSubmitTime
(
nowDate
);
consignment
.
setFirstSubmitter
(
user
.
getUserName
());
consignment
.
setFirstSubmitterId
(
user
.
getId
());
...
...
Please
register
or
login
to post a comment