...
|
...
|
@@ -16,6 +16,7 @@ import com.yohoufo.dal.order.model.SellerEnterApply; |
|
|
import com.yohoufo.dal.order.model.StoredSeller;
|
|
|
import com.yohoufo.order.constants.SellerConfig;
|
|
|
import com.yohoufo.order.service.IStoredSellerService;
|
|
|
import com.yohoufo.order.service.MerchantOrderPaymentService;
|
|
|
import com.yohoufo.order.service.proxy.InBoxFacade;
|
|
|
import com.yohoufo.order.service.proxy.ProductProxyService;
|
|
|
import com.yohoufo.order.utils.LoggerUtils;
|
...
|
...
|
@@ -65,6 +66,9 @@ public class SellerEnterApplyService { |
|
|
@Autowired
|
|
|
private InBoxFacade inBoxFacade;
|
|
|
|
|
|
@Autowired
|
|
|
private MerchantOrderPaymentService merchantOrderPaymentService;
|
|
|
|
|
|
/**
|
|
|
* 申请成为超级卖家
|
|
|
* 对于未支付的某一种身份申请做订单号替换
|
...
|
...
|
@@ -247,6 +251,11 @@ public class SellerEnterApplyService { |
|
|
if (noStoredSeller && isMatchedET){
|
|
|
SellerLevelFuncBo slfb = sellerFuncService.getSellerLevelFunc(targetEst.getCode(), level);
|
|
|
storedSellerService.addUserAsStoredSeller(uid, targetEst, slfb);
|
|
|
if (EntrySellerType.SUPER_ENTRY.equals(targetEst)){
|
|
|
logger.info("in upgradeLevel ready pass apply then changeWalletToSuperSeller, uid {} orderCode {} currentEnterType {} PreEnterType {} noStoredSeller {} target Level {} isMatchedET {}",
|
|
|
uid, orderCode, currentEnterType,preEnterType, noStoredSeller, level, isMatchedET);
|
|
|
merchantOrderPaymentService.changeWalletToSuperSeller(uid);
|
|
|
}
|
|
|
}else{
|
|
|
logger.warn("in upgradeLevel add StoredSeller fail, uid {} orderCode {}",
|
|
|
uid, orderCode);
|
...
|
...
|
|