Merge remote-tracking branch 'origin/test6.9.10' into test6.9.10
Showing
1 changed file
with
7 additions
and
2 deletions
@@ -516,6 +516,9 @@ public class AppraiseService { | @@ -516,6 +516,9 @@ public class AppraiseService { | ||
516 | // 3.鉴定通过 | 516 | // 3.鉴定通过 |
517 | List<Integer> APPRAISE_SUCCESS_STATUS_CODE = Lists.newArrayList(AppraiseOrderStatus.JUDGE_PASS.getCode()); | 517 | List<Integer> APPRAISE_SUCCESS_STATUS_CODE = Lists.newArrayList(AppraiseOrderStatus.JUDGE_PASS.getCode()); |
518 | 518 | ||
519 | + // 3.鉴定通过待寄存, 主动召回的时候需要发货 | ||
520 | + List<Integer> APPRAISE_SUCCESS_STATUS_WAREHOUSE_CODE = Lists.newArrayList(AppraiseOrderStatus.JUDGE_PASS_WAIT_WAREHOUSE.getCode()); | ||
521 | + | ||
519 | /** | 522 | /** |
520 | * 现货寄存 and 现货鉴定 发货用<br><br/> | 523 | * 现货寄存 and 现货鉴定 发货用<br><br/> |
521 | * 鉴定结果为以下场景,寄回 | 524 | * 鉴定结果为以下场景,寄回 |
@@ -544,7 +547,8 @@ public class AppraiseService { | @@ -544,7 +547,8 @@ public class AppraiseService { | ||
544 | 547 | ||
545 | if(!APPRAISE_FAIL_STATUS_CODE.contains(appraiseOrder.getStatus()) | 548 | if(!APPRAISE_FAIL_STATUS_CODE.contains(appraiseOrder.getStatus()) |
546 | && !CANNOT_APPRAISE_STATUS_CODE.contains(appraiseOrder.getStatus()) | 549 | && !CANNOT_APPRAISE_STATUS_CODE.contains(appraiseOrder.getStatus()) |
547 | - && !APPRAISE_SUCCESS_STATUS_CODE.contains(appraiseOrder.getStatus())){ | 550 | + && !APPRAISE_SUCCESS_STATUS_CODE.contains(appraiseOrder.getStatus()) |
551 | + && !APPRAISE_SUCCESS_STATUS_WAREHOUSE_CODE.contains(appraiseOrder.getStatus())){ //鉴定通过待寄存, 主动召回的时候需要发货 | ||
548 | 552 | ||
549 | LOGGER.warn("deliveryForAppraise status {}, orderCode {}", appraiseOrder.getStatus(), orderCode); | 553 | LOGGER.warn("deliveryForAppraise status {}, orderCode {}", appraiseOrder.getStatus(), orderCode); |
550 | throw new ServiceException(ServiceError.ORDER_STATUS_INVALIDATE); | 554 | throw new ServiceException(ServiceError.ORDER_STATUS_INVALIDATE); |
@@ -563,7 +567,8 @@ public class AppraiseService { | @@ -563,7 +567,8 @@ public class AppraiseService { | ||
563 | expressInfoService.returnBackCauseOfBuyerCancelAfterSellerSendOut(uid, expressCompanyId, orderCode, wayBillCode, depotNum, mobile, true); | 567 | expressInfoService.returnBackCauseOfBuyerCancelAfterSellerSendOut(uid, expressCompanyId, orderCode, wayBillCode, depotNum, mobile, true); |
564 | } | 568 | } |
565 | // 3.鉴定通过 | 569 | // 3.鉴定通过 |
566 | - else if(APPRAISE_SUCCESS_STATUS_CODE.contains(appraiseOrder.getStatus())){ | 570 | + else if(APPRAISE_SUCCESS_STATUS_CODE.contains(appraiseOrder.getStatus()) || |
571 | + APPRAISE_SUCCESS_STATUS_WAREHOUSE_CODE.contains(appraiseOrder.getStatus())){ | ||
567 | expressInfoService.deliverGoods(appraiseOrder.getUid(), | 572 | expressInfoService.deliverGoods(appraiseOrder.getUid(), |
568 | appraiseExpressInfoBo.getExpressCompanyId(), | 573 | appraiseExpressInfoBo.getExpressCompanyId(), |
569 | appraiseOrder.getOrderCode(), | 574 | appraiseOrder.getOrderCode(), |
-
Please register or login to post a comment