Showing
2 changed files
with
18 additions
and
1 deletions
| ... | @@ -373,6 +373,18 @@ public class ChmConsignment implements Serializable { | ... | @@ -373,6 +373,18 @@ public class ChmConsignment implements Serializable { |
| 373 | @Column(name = "OWNER_CODE_SCC") | 373 | @Column(name = "OWNER_CODE_SCC") |
| 374 | private String ownerCodeScc; | 374 | private String ownerCodeScc; |
| 375 | 375 | ||
| 376 | + /** | ||
| 377 | + * 运单类型ID | ||
| 378 | + */ | ||
| 379 | + @Column(name = "CONS_TYPE_ID") | ||
| 380 | + private String consTypeId; | ||
| 381 | + | ||
| 382 | + /** | ||
| 383 | + * 运单类型 | ||
| 384 | + */ | ||
| 385 | + @Column(name = "CONS_TYPE") | ||
| 386 | + private String consType; | ||
| 387 | + | ||
| 376 | 388 | ||
| 377 | @OneToMany(mappedBy = "chmConsignment", cascade = CascadeType.ALL) | 389 | @OneToMany(mappedBy = "chmConsignment", cascade = CascadeType.ALL) |
| 378 | private List<ChmConsignmentDetail> chmConsignmentDetailList; | 390 | private List<ChmConsignmentDetail> chmConsignmentDetailList; | ... | ... |
| ... | @@ -153,7 +153,12 @@ public class ChmConsignmentService { | ... | @@ -153,7 +153,12 @@ public class ChmConsignmentService { |
| 153 | result.setFromCountry(fromCountryDictionaryEntries.getChineseName()); | 153 | result.setFromCountry(fromCountryDictionaryEntries.getChineseName()); |
| 154 | } | 154 | } |
| 155 | 155 | ||
| 156 | - | 156 | + //运单类型 |
| 157 | + DictionaryEntries consType = Constant.dictionaryEntriesCache.get(Constant.MSG_TYPE_D); | ||
| 158 | + if(consType != null){ | ||
| 159 | + result.setConsTypeId(String.valueOf(consType.getId())); | ||
| 160 | + result.setConsType(consType.getChineseName()); | ||
| 161 | + } | ||
| 157 | 162 | ||
| 158 | //监管方式 | 163 | //监管方式 |
| 159 | DictionaryEntries tradeModeDictionaryEntries = Constant.dictionaryEntriesCache.get(Constant.SUPERVISION_MODE+mawb.getTradeMode()); | 164 | DictionaryEntries tradeModeDictionaryEntries = Constant.dictionaryEntriesCache.get(Constant.SUPERVISION_MODE+mawb.getTradeMode()); | ... | ... |
-
Please register or login to post a comment