...
|
...
|
@@ -3,7 +3,6 @@ package com.yohoufo.order.service; |
|
|
import com.yoho.error.ServiceError;
|
|
|
import com.yoho.error.exception.ServiceException;
|
|
|
import com.yohobuy.ufo.model.order.common.OrderStatus;
|
|
|
import com.yohobuy.ufo.model.order.common.TabType;
|
|
|
import com.yohoufo.common.alarm.EventBusPublisher;
|
|
|
import com.yohoufo.common.exception.UfoServiceException;
|
|
|
import com.yohoufo.common.utils.DateUtil;
|
...
|
...
|
@@ -109,8 +108,7 @@ public abstract class AbstractBuyerOrderStateChanger<T extends RequestedStatusCh |
|
|
if (doChange(statusChangeBuyerOrder)) {
|
|
|
afterChange(statusChangeBuyerOrder);
|
|
|
//清理缓存
|
|
|
cacheCleaner.cleanList(buyerOrder.getUid(), TabType.BUY.getValue());
|
|
|
cacheCleaner.cleanDetail(buyerOrder.getUid(), buyerOrder.getOrderCode(), TabType.BUY);
|
|
|
cacheCleaner.cleanBuyerOrder(buyerOrder.getUid(), buyerOrder.getOrderCode());
|
|
|
} else {
|
|
|
logger.warn("[{}] change order fail, order status has changed", buyerOrder.getOrderCode());
|
|
|
switch (operator) {
|
...
|
...
|
|