...
|
...
|
@@ -13,8 +13,11 @@ import com.yohobuy.ufo.model.response.ProductDetailResp; |
|
|
import com.yohobuy.ufo.model.response.StorageDataResp;
|
|
|
import com.yohobuy.ufo.model.response.StorageInfoResp;
|
|
|
import com.yohoufo.common.ApiResponse;
|
|
|
import com.yohoufo.common.alarm.EventBusPublisher;
|
|
|
import com.yohoufo.common.alarm.SmsAlarmEvent;
|
|
|
import com.yohoufo.common.exception.UfoServiceException;
|
|
|
import com.yohoufo.dal.order.model.SellerOrderGoods;
|
|
|
import com.yohoufo.order.convert.builder.AlarmEventBuilder;
|
|
|
import lombok.Data;
|
|
|
import org.apache.commons.collections.CollectionUtils;
|
|
|
import org.apache.commons.collections.MapUtils;
|
...
|
...
|
@@ -275,6 +278,8 @@ public class ProductProxyService extends AbsProxyService{ |
|
|
String errorStack = Throwables.getStackTraceAsString(ex);
|
|
|
logger.warn("call {} fail,req {}, error {}", SYNC_SKUP_STATUS, req, errorStack);
|
|
|
result = false;
|
|
|
SmsAlarmEvent smsAlarmEvent = AlarmEventBuilder.buildSkupStatusAlarmEvent(goods.getId(), skupStatus, status);
|
|
|
EventBusPublisher.publishEvent(smsAlarmEvent);
|
|
|
}
|
|
|
|
|
|
return result;
|
...
|
...
|
|