Showing
4 changed files
with
4 additions
and
4 deletions
| ... | @@ -95,7 +95,7 @@ public class Mawb implements Serializable { | ... | @@ -95,7 +95,7 @@ public class Mawb implements Serializable { |
| 95 | @Column(name = "EDIID") | 95 | @Column(name = "EDIID") |
| 96 | private String ediId; | 96 | private String ediId; |
| 97 | 97 | ||
| 98 | - @ApiModelProperty(value = "海关编号", name = "EntryId", example = "001") | 98 | + @ApiModelProperty(value = "报关单编号", name = "EntryId", example = "001") |
| 99 | @Column(name = "ENTRYID") | 99 | @Column(name = "ENTRYID") |
| 100 | private String entryId; | 100 | private String entryId; |
| 101 | 101 | ... | ... |
| ... | @@ -287,7 +287,7 @@ public class ChmConsignment implements Serializable { | ... | @@ -287,7 +287,7 @@ public class ChmConsignment implements Serializable { |
| 287 | private String tradeAreaCode; | 287 | private String tradeAreaCode; |
| 288 | 288 | ||
| 289 | /** | 289 | /** |
| 290 | - * 海关编号 | 290 | + * 报关单编号 |
| 291 | */ | 291 | */ |
| 292 | @Column(name = "CUSTOMS_NO") | 292 | @Column(name = "CUSTOMS_NO") |
| 293 | private String customsNo; | 293 | private String customsNo; | ... | ... |
| ... | @@ -16,7 +16,7 @@ public interface DeclearTaskRepository extends JpaSpecificationExecutor<DeclearT | ... | @@ -16,7 +16,7 @@ public interface DeclearTaskRepository extends JpaSpecificationExecutor<DeclearT |
| 16 | * 根据运单号集合+创建时间 运单 | 16 | * 根据运单号集合+创建时间 运单 |
| 17 | * @return | 17 | * @return |
| 18 | */ | 18 | */ |
| 19 | - @Query( nativeQuery = true,value ="SELECT TOP 10 * FROM T_DECLEAR_TASK WHERE FILE_TYPE = 1 AND PUSH_NUMBER < 3 AND (RESPONSE_RESULTS IS NULL OR RESPONSE_RESULTS <> '0') ORDER BY OPERATION_TIME ASC" ) | 19 | + @Query( nativeQuery = true,value ="select TOP 10 DT.* from T_DECLEAR_TASK DT INNER JOIN T_RECEIPT_MESSAGE RM ON (DT.CHMSIGNMENT_ID = RM.ID) where DT.FILE_TYPE = 2 AND DT.PUSH_NUMBER < 3 AND (DT.RESPONSE_RESULTS IS NULL OR DT.RESPONSE_RESULTS = '0') AND RM.ENTRY_ID IS NOT NULL AND ENTRY_ID != '' ORDER BY OPERATION_TIME ASC" ) |
| 20 | public List<DeclearTask> findDeclearTask(); | 20 | public List<DeclearTask> findDeclearTask(); |
| 21 | 21 | ||
| 22 | /** | 22 | /** | ... | ... |
| ... | @@ -326,7 +326,7 @@ public class ChmConsignmentService { | ... | @@ -326,7 +326,7 @@ public class ChmConsignmentService { |
| 326 | Integer ediid = Integer.parseInt(consignment.getDeclaredDocTypeDic().getExt2()); | 326 | Integer ediid = Integer.parseInt(consignment.getDeclaredDocTypeDic().getExt2()); |
| 327 | result.setEdiId(ediid.toString()); | 327 | result.setEdiId(ediid.toString()); |
| 328 | } | 328 | } |
| 329 | - //海关编号 | 329 | + //报关单编号 |
| 330 | result.setEntryId(consignment.getCustomsNo()); | 330 | result.setEntryId(consignment.getCustomsNo()); |
| 331 | //运费币制 英文三字码 | 331 | //运费币制 英文三字码 |
| 332 | if(!Objects.equals(consignment.getTransCurrencyDic(),null)){ | 332 | if(!Objects.equals(consignment.getTransCurrencyDic(),null)){ | ... | ... |
-
Please register or login to post a comment