|
@@ -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);
|