Authored by qinchao

add 物流调拨信息

@@ -525,11 +525,11 @@ public class AppraiseService { @@ -525,11 +525,11 @@ public class AppraiseService {
525 //鉴定不通过,不发物流 525 //鉴定不通过,不发物流
526 //expressInfoService.appraiseFail(sellerUid, expressCompanyId, orderCode, wayBillCode, depotNum,mobile); 526 //expressInfoService.appraiseFail(sellerUid, expressCompanyId, orderCode, wayBillCode, depotNum,mobile);
527 527
528 - //记录调拨信息(卖家和买家都需要记录) 528 + //记录调拨信息(只保存卖家一条)
529 EnumExpressType expressType = EnumExpressType.EXPRESS_TYPE_JUDGE_CENTER; 529 EnumExpressType expressType = EnumExpressType.EXPRESS_TYPE_JUDGE_CENTER;
530 EnumExpressDataType expressDataType = EnumExpressDataType.operate_transfer; 530 EnumExpressDataType expressDataType = EnumExpressDataType.operate_transfer;
531 EnumExpressDataOperateTransferCode operateTransferCode = EnumExpressDataOperateTransferCode.judge_reject; 531 EnumExpressDataOperateTransferCode operateTransferCode = EnumExpressDataOperateTransferCode.judge_reject;
532 - expressInfoService.saveOperateTransferExpressInfo(buyerUid,orderCode,expressType.getCode(),expressDataType,operateTransferCode); 532 + //expressInfoService.saveOperateTransferExpressInfo(buyerUid,orderCode,expressType.getCode(),expressDataType,operateTransferCode);
533 expressInfoService.saveOperateTransferExpressInfo(sellerUid,orderCode,expressType.getCode(),expressDataType,operateTransferCode); 533 expressInfoService.saveOperateTransferExpressInfo(sellerUid,orderCode,expressType.getCode(),expressDataType,operateTransferCode);
534 } 534 }
535 535
@@ -641,11 +641,11 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { @@ -641,11 +641,11 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService {
641 buyerOrderMapper.updateStatusByOrderCode(orderCode, uid, expectStatus.getCode(), 641 buyerOrderMapper.updateStatusByOrderCode(orderCode, uid, expectStatus.getCode(),
642 targetStatus.getCode(), DateUtil.getCurrentTimeSecond()); 642 targetStatus.getCode(), DateUtil.getCurrentTimeSecond());
643 643
644 - //记录调拨信息(卖家和买家都需要记录) 644 + //记录调拨信息(只保存卖家一条)
645 EnumExpressType expressType = EnumExpressType.EXPRESS_TYPE_JUDGE_CENTER; 645 EnumExpressType expressType = EnumExpressType.EXPRESS_TYPE_JUDGE_CENTER;
646 EnumExpressDataType expressDataType = EnumExpressDataType.operate_transfer; 646 EnumExpressDataType expressDataType = EnumExpressDataType.operate_transfer;
647 EnumExpressDataOperateTransferCode operateTransferCode = EnumExpressDataOperateTransferCode.platform_receive; 647 EnumExpressDataOperateTransferCode operateTransferCode = EnumExpressDataOperateTransferCode.platform_receive;
648 - expressInfoService.saveOperateTransferExpressInfo(uid,orderCode,expressType.getCode(),expressDataType,operateTransferCode); 648 + //expressInfoService.saveOperateTransferExpressInfo(uid,orderCode,expressType.getCode(),expressDataType,operateTransferCode);
649 expressInfoService.saveOperateTransferExpressInfo(sellerUid,orderCode,expressType.getCode(),expressDataType,operateTransferCode); 649 expressInfoService.saveOperateTransferExpressInfo(sellerUid,orderCode,expressType.getCode(),expressDataType,operateTransferCode);
650 650
651 cleanCacheAfterUpdateStatus(orderCode,uid,sellerUid); 651 cleanCacheAfterUpdateStatus(orderCode,uid,sellerUid);
@@ -681,11 +681,11 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { @@ -681,11 +681,11 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService {
681 buyerOrderMapper.updateStatusByOrderCode(orderCode, uid, expectStatus.getCode(), 681 buyerOrderMapper.updateStatusByOrderCode(orderCode, uid, expectStatus.getCode(),
682 targetStatus.getCode(), DateUtil.getCurrentTimeSecond()); 682 targetStatus.getCode(), DateUtil.getCurrentTimeSecond());
683 683
684 - //记录调拨信息(卖家和买家都需要记录) 684 + //记录调拨信息(只保存卖家一条)
685 EnumExpressType expressType = EnumExpressType.EXPRESS_TYPE_JUDGE_CENTER; 685 EnumExpressType expressType = EnumExpressType.EXPRESS_TYPE_JUDGE_CENTER;
686 EnumExpressDataType expressDataType = EnumExpressDataType.operate_transfer; 686 EnumExpressDataType expressDataType = EnumExpressDataType.operate_transfer;
687 EnumExpressDataOperateTransferCode operateTransferCode = EnumExpressDataOperateTransferCode.judge_begin; 687 EnumExpressDataOperateTransferCode operateTransferCode = EnumExpressDataOperateTransferCode.judge_begin;
688 - expressInfoService.saveOperateTransferExpressInfo(uid,orderCode,expressType.getCode(),expressDataType,operateTransferCode); 688 + //expressInfoService.saveOperateTransferExpressInfo(uid,orderCode,expressType.getCode(),expressDataType,operateTransferCode);
689 expressInfoService.saveOperateTransferExpressInfo(sellerUid,orderCode,expressType.getCode(),expressDataType,operateTransferCode); 689 expressInfoService.saveOperateTransferExpressInfo(sellerUid,orderCode,expressType.getCode(),expressDataType,operateTransferCode);
690 690
691 cleanCacheAfterUpdateStatus(orderCode,uid,sellerUid); 691 cleanCacheAfterUpdateStatus(orderCode,uid,sellerUid);