Authored by qinchao

瑕疵分等级扣款

@@ -101,6 +101,7 @@ public class ActionStatusHold { @@ -101,6 +101,7 @@ public class ActionStatusHold {
101 SellerOrderStatus.PLAY_SELF.getCode(), 101 SellerOrderStatus.PLAY_SELF.getCode(),
102 SellerOrderStatus.BUYER_CANCEL_BEFORE_SELLER_DELIVER.getCode(), 102 SellerOrderStatus.BUYER_CANCEL_BEFORE_SELLER_DELIVER.getCode(),
103 SellerOrderStatus.BUYER_CANCEL_BEFORE_DEPOT_RECEIVE.getCode(), 103 SellerOrderStatus.BUYER_CANCEL_BEFORE_DEPOT_RECEIVE.getCode(),
  104 + SellerOrderStatus.MINI_FAULT_REJECT.getCode(),
104 // 支付成功回调超时,但已经超时取消了,这种场景可以退款 105 // 支付成功回调超时,但已经超时取消了,这种场景可以退款
105 SellerOrderStatus.TIMEOUT_CANCEL.getCode(), 106 SellerOrderStatus.TIMEOUT_CANCEL.getCode(),
106 SellerOrderStatus.SELf_CANCEL_PAY.getCode()); 107 SellerOrderStatus.SELf_CANCEL_PAY.getCode());
@@ -7,12 +7,9 @@ import com.yohobuy.ufo.model.order.bo.MerchantOrderAttachInfo; @@ -7,12 +7,9 @@ import com.yohobuy.ufo.model.order.bo.MerchantOrderAttachInfo;
7 import com.yohobuy.ufo.model.order.common.*; 7 import com.yohobuy.ufo.model.order.common.*;
8 import com.yohoufo.common.ApiResponse; 8 import com.yohoufo.common.ApiResponse;
9 import com.yohoufo.common.alarm.EventBusPublisher; 9 import com.yohoufo.common.alarm.EventBusPublisher;
10 -import com.yohoufo.common.alarm.SmsAlarmEvent;  
11 -import com.yohoufo.common.exception.UfoServiceException;  
12 import com.yohoufo.common.utils.DateUtil; 10 import com.yohoufo.common.utils.DateUtil;
13 import com.yohoufo.dal.order.*; 11 import com.yohoufo.dal.order.*;
14 import com.yohoufo.dal.order.model.*; 12 import com.yohoufo.dal.order.model.*;
15 -import com.yohoufo.order.common.BillTradeStatus;  
16 import com.yohoufo.order.common.RefundCase; 13 import com.yohoufo.order.common.RefundCase;
17 import com.yohoufo.order.common.TransferCase; 14 import com.yohoufo.order.common.TransferCase;
18 import com.yohoufo.order.constants.AlarmConfig; 15 import com.yohoufo.order.constants.AlarmConfig;
@@ -478,7 +475,12 @@ public class AppraiseService { @@ -478,7 +475,12 @@ public class AppraiseService {
478 long sellerOrderCode = sellerOrder.getOrderCode(); 475 long sellerOrderCode = sellerOrder.getOrderCode();
479 476
480 final SellerOrderStatus expectSOStatus = SellerOrderStatus.HAS_PAYED; 477 final SellerOrderStatus expectSOStatus = SellerOrderStatus.HAS_PAYED;
481 - final SellerOrderStatus targetSoStatus = SellerOrderStatus.APPRAISAL_FAIL_COMPENSATE; 478 + final SellerOrderStatus targetSoStatus ;
  479 + if(type==3 || type==4){
  480 + targetSoStatus = SellerOrderStatus.MINI_FAULT_REJECT;
  481 + }else{
  482 + targetSoStatus = SellerOrderStatus.APPRAISAL_FAIL_COMPENSATE;
  483 + }
482 SellerOrder tso = new SellerOrder(); 484 SellerOrder tso = new SellerOrder();
483 tso.setUid(sellerUid); 485 tso.setUid(sellerUid);
484 tso.setOrderCode(sellerOrderCode); 486 tso.setOrderCode(sellerOrderCode);