Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
iClear-api
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
Jiaqi.xu
2021-09-17 18:07:44 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6c96cb283e7df2cd4fabe325344160f56f67aae6
6c96cb28
1 parent
a9dccafb
BASF接口
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
src/main/java/com/erry/iclear/dateInterface/api/BasfDataInterface.java
src/main/java/com/erry/iclear/dateInterface/service/ChmConsignmentService.java
src/main/java/com/erry/iclear/dateInterface/api/BasfDataInterface.java
View file @
6c96cb2
...
...
@@ -78,12 +78,12 @@ public class BasfDataInterface {
//2、TODO 校验主单
/*sw.start("check
Mawb");
sw
.
start
(
"checkBasf
Mawb"
);
result
=
basfService
.
checkBasfMawb
(
saveMawbBasfResult
);
if
(!
result
.
getSuccess
()){
return
result
;
}
sw.stop();
*/
sw
.
stop
();
// //3、TODO 校验子单
// sw.start("checkMawbDetail");
...
...
src/main/java/com/erry/iclear/dateInterface/service/ChmConsignmentService.java
View file @
6c96cb2
...
...
@@ -240,7 +240,7 @@ public class ChmConsignmentService {
//运单号
result
.
setConsignmentCode
(
mawb
.
getBillNo
());
//运单类型
DictionaryEntries
consType
=
Constant
.
dictionaryEntriesCache
.
get
(
Constant
.
MSG_TYPE
_C
);
DictionaryEntries
consType
=
Constant
.
dictionaryEntriesCache
.
get
(
Constant
.
consType
_C
);
if
(
consType
!=
null
){
result
.
setConsTypeId
(
consType
);
result
.
setConsType
(
consType
.
getChineseName
());
...
...
@@ -586,10 +586,10 @@ public class ChmConsignmentService {
}
//更新:
//如果有数据并且满足条件后才能更新数据
//条件1、状态为
待申报海关
//条件1、状态为
C类待申报
//条件2、本次推送时间 > 上次推送的时间
}
else
if
(!
Objects
.
equals
(
chmConsignmentDB
,
null
)
&&
Objects
.
equals
(
chmConsignmentDB
.
getConsStatusDic
().
getCode
(),
"transferWaybillStatus_
5
"
)
&&
Objects
.
equals
(
chmConsignmentDB
.
getConsStatusDic
().
getCode
(),
"transferWaybillStatus_
16
"
)
//TODO 提交时需要打开
&&
pushTime
.
getTime
()>
chmConsignmentDB
.
getUpdateTime
().
getTime
()
){
...
...
Please
register
or
login
to post a comment