Authored by chenchao

remove flaw

@@ -4,8 +4,10 @@ import com.alibaba.fastjson.JSON; @@ -4,8 +4,10 @@ import com.alibaba.fastjson.JSON;
4 import com.yoho.message.sdk.common.model.SendMessageRspBo; 4 import com.yoho.message.sdk.common.model.SendMessageRspBo;
5 import com.yoho.message.sdk.service.ufo.IUFOSendService; 5 import com.yoho.message.sdk.service.ufo.IUFOSendService;
6 import com.yohobuy.ufo.model.enums.InboxBusinessTypeEnum; 6 import com.yohobuy.ufo.model.enums.InboxBusinessTypeEnum;
  7 +import com.yohobuy.ufo.model.order.common.AppraiseOrderStatus;
7 import com.yohobuy.ufo.model.order.common.SuperEnterStageLevel; 8 import com.yohobuy.ufo.model.order.common.SuperEnterStageLevel;
8 import com.yohoufo.dal.order.SellerOrderMapper; 9 import com.yohoufo.dal.order.SellerOrderMapper;
  10 +import com.yohoufo.dal.order.model.AppraiseOrder;
9 import com.yohoufo.dal.order.model.BuyerOrder; 11 import com.yohoufo.dal.order.model.BuyerOrder;
10 import com.yohoufo.dal.order.model.SellerOrder; 12 import com.yohoufo.dal.order.model.SellerOrder;
11 import com.yohoufo.dal.order.model.SellerOrderGoods; 13 import com.yohoufo.dal.order.model.SellerOrderGoods;
@@ -979,4 +981,50 @@ public class InBoxFacade extends BaseNoticeFacade{ @@ -979,4 +981,50 @@ public class InBoxFacade extends BaseNoticeFacade{
979 } 981 }
980 982
981 983
  984 + public void sellerDepositOrderNotice(int uid,long orderCode, AppraiseOrderStatus targetStatus){
  985 + switch (targetStatus){
  986 + case WAITING_PAY:
  987 +
  988 + break;
  989 +
  990 + case CANCEL_BEFORE_PAY:
  991 +
  992 + break;
  993 + case HAS_PAYED:
  994 +
  995 + break;
  996 + case CANCEL_BEFORE_DELIVER:
  997 +
  998 + break;
  999 + case SEND_OUT_TIMEOUT:
  1000 +
  1001 + break;
  1002 + case PLATFORM_RECEIVE:
  1003 +
  1004 + break;
  1005 + case SHAM_SEND_OUT:
  1006 +
  1007 + break;
  1008 + case QUALITY_CHECK_FAKE:
  1009 +
  1010 + break;
  1011 +
  1012 + case PLATFORM_APPRAISE_UNSURE:
  1013 +
  1014 + break;
  1015 + case JUDGE_PASS:
  1016 +
  1017 + break;
  1018 +
  1019 + case CHECKING_FAKE:
  1020 +
  1021 + break;
  1022 +
  1023 + case FINISH:
  1024 +
  1025 + break;
  1026 + }
  1027 +
  1028 + }
  1029 +
982 } 1030 }
@@ -415,7 +415,6 @@ public class SellerDepositOrderService extends AbsGoodsServiceOrderService imple @@ -415,7 +415,6 @@ public class SellerDepositOrderService extends AbsGoodsServiceOrderService imple
415 .loadRefundAction(payRefundService::refund) 415 .loadRefundAction(payRefundService::refund)
416 .loadOrder(appraiseOrder.getOrderCode(), appraiseOrder.getParentOrderCode(), appraiseOrder.getPayment(), appraiseOrder.getAmount()) 416 .loadOrder(appraiseOrder.getOrderCode(), appraiseOrder.getParentOrderCode(), appraiseOrder.getPayment(), appraiseOrder.getAmount())
417 .refund(); 417 .refund();
418 - depositService.insertFakeDeposit(appraiseOrder.getUid(), appraiseOrder.getOrderCode(), appraiseOrder.getParentOrderCode());  
419 return rows; 418 return rows;
420 } 419 }
421 420