...
|
...
|
@@ -176,7 +176,18 @@ public class QuickDeliverGoodsService { |
|
|
uid, depositCode, skup, ex);
|
|
|
}
|
|
|
try {
|
|
|
depositService.changeSaleStatusOn(uid, depositCode, skup);
|
|
|
boolean success = depositService.changeSaleStatusOn(uid, depositCode, skup);
|
|
|
if (success) {
|
|
|
logger.info("in publish quick deliver prd , change deposit storage success, uid {} depositCode {} skup {}",
|
|
|
uid, depositCode, skup);
|
|
|
} else {
|
|
|
String content = "用户" + uid + "发布闪购商品" + depositCode + "上架同步失败";
|
|
|
SmsAlarmEvent smsAlarmEvent = new SmsAlarmEvent("sellerOrder.create", "syncQuickDeliverPrd", content);
|
|
|
EventBusPublisher.publishEvent(smsAlarmEvent);
|
|
|
logger.warn("in publish quick deliver prd , change deposit storage fail, uid {} depositCode {} skup {}",
|
|
|
uid, depositCode, skup);
|
|
|
}
|
|
|
|
|
|
}catch (Exception ex){
|
|
|
logger.warn("in publish quick deliver prd , change deposit storage fail, uid {} depositCode {} skup {}",
|
|
|
uid, depositCode, skup, ex);
|
...
|
...
|
|