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-07-05 19:27:54 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
76c7b445fd4e3481d91cdaef4a81731358607d84
76c7b445
1 parent
25051a1a
西门子数据添加运单类型
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletions
src/main/java/com/erry/iclear/dateInterface/entity/ChmConsignment.java
src/main/java/com/erry/iclear/dateInterface/service/ChmConsignmentService.java
src/main/java/com/erry/iclear/dateInterface/entity/ChmConsignment.java
View file @
76c7b44
...
...
@@ -373,6 +373,18 @@ public class ChmConsignment implements Serializable {
@Column
(
name
=
"OWNER_CODE_SCC"
)
private
String
ownerCodeScc
;
/**
* 运单类型ID
*/
@Column
(
name
=
"CONS_TYPE_ID"
)
private
String
consTypeId
;
/**
* 运单类型
*/
@Column
(
name
=
"CONS_TYPE"
)
private
String
consType
;
@OneToMany
(
mappedBy
=
"chmConsignment"
,
cascade
=
CascadeType
.
ALL
)
private
List
<
ChmConsignmentDetail
>
chmConsignmentDetailList
;
...
...
src/main/java/com/erry/iclear/dateInterface/service/ChmConsignmentService.java
View file @
76c7b44
...
...
@@ -153,7 +153,12 @@ public class ChmConsignmentService {
result
.
setFromCountry
(
fromCountryDictionaryEntries
.
getChineseName
());
}
//运单类型
DictionaryEntries
consType
=
Constant
.
dictionaryEntriesCache
.
get
(
Constant
.
MSG_TYPE_D
);
if
(
consType
!=
null
){
result
.
setConsTypeId
(
String
.
valueOf
(
consType
.
getId
()));
result
.
setConsType
(
consType
.
getChineseName
());
}
//监管方式
DictionaryEntries
tradeModeDictionaryEntries
=
Constant
.
dictionaryEntriesCache
.
get
(
Constant
.
SUPERVISION_MODE
+
mawb
.
getTradeMode
());
...
...
Please
register
or
login
to post a comment