...
|
...
|
@@ -12,7 +12,7 @@ import com.yohobuy.ufo.model.user.resp.AuthorizeResultRespVO; |
|
|
import com.yohoufo.common.caller.UfoServiceCaller;
|
|
|
import com.yohoufo.common.exception.UfoServiceException;
|
|
|
import com.yohoufo.dal.order.EntrySellerRechargeOrderMapper;
|
|
|
import com.yohoufo.dal.order.IStoredSellerDao;
|
|
|
import com.yohoufo.dal.order.StoredSellerMapper;
|
|
|
import com.yohoufo.dal.order.model.EntrySellerRechargeOrder;
|
|
|
import com.yohoufo.dal.order.model.StoredSeller;
|
|
|
import com.yohoufo.order.common.Payment;
|
...
|
...
|
@@ -21,6 +21,7 @@ import com.yohoufo.order.model.response.OrderSubmitResponse; |
|
|
import com.yohoufo.order.service.IStoredSellerService;
|
|
|
import com.yohoufo.order.service.IStoredSellerDepositService;
|
|
|
import com.yohoufo.order.service.MerchantOrderPaymentService;
|
|
|
import com.yohoufo.order.service.cache.StoredSellerCacheService;
|
|
|
import com.yohoufo.order.service.proxy.InBoxFacade;
|
|
|
import com.yohoufo.order.service.support.codegenerator.OrderCodeGenerator;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
...
|
...
|
@@ -59,7 +60,7 @@ public class StoredSellerDepositServiceImpl implements IStoredSellerDepositServi |
|
|
MerchantOrderPaymentService merchantOrderPaymentService;
|
|
|
|
|
|
@Autowired
|
|
|
private IStoredSellerDao storedSellerDao;
|
|
|
private StoredSellerMapper storedSellerMapper;
|
|
|
|
|
|
@Autowired
|
|
|
private InBoxFacade inBoxFacade;
|
...
|
...
|
@@ -67,6 +68,9 @@ public class StoredSellerDepositServiceImpl implements IStoredSellerDepositServi |
|
|
@Autowired
|
|
|
private IStoredSellerService storedSellerService;
|
|
|
|
|
|
@Autowired
|
|
|
StoredSellerCacheService storedSellerCacheService;
|
|
|
|
|
|
/**
|
|
|
* 充值保证金
|
|
|
*/
|
...
|
...
|
@@ -323,9 +327,9 @@ public class StoredSellerDepositServiceImpl implements IStoredSellerDepositServi |
|
|
|
|
|
//更新为退驻
|
|
|
logger.info("StoredSellerServiceImpl updateStoredSellerQuitStatus begin ,uid is {} ,ts {} ",uid,ts);
|
|
|
int num = storedSellerDao.updateStatusByUid(uid,StoredSellerStatusEnum.quit.getId(),expectStatus,ts);
|
|
|
//TODO 状态变化,清掉缓存
|
|
|
//cacheService.removeStoredSeller(uid);
|
|
|
int num = storedSellerMapper.updateStatusByUid(uid,StoredSellerStatusEnum.quit.getId(),expectStatus,ts);
|
|
|
// 状态变化,清掉缓存
|
|
|
storedSellerCacheService.removeStoredSeller(uid);
|
|
|
|
|
|
logger.info("StoredSellerServiceImpl updateStoredSellerQuitStatus end ,uid is {} ,update num {}",uid,num);
|
|
|
|
...
|
...
|
|