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