...
|
...
|
@@ -7,6 +7,7 @@ import com.yohobuy.ufo.model.request.product.ProductImportTranItemBo; |
|
|
import com.yohoufo.common.ApiResponse;
|
|
|
import com.yohoufo.common.annotation.IgnoreSession;
|
|
|
import com.yohoufo.common.annotation.IgnoreSignature;
|
|
|
import com.yohoufo.common.exception.UfoServiceException;
|
|
|
import com.yohoufo.order.event.AuditFailedEvent;
|
|
|
import com.yohoufo.order.service.impl.SellerOrderCancelService;
|
|
|
import com.yohoufo.order.service.impl.visitor.AuditCancelCase;
|
...
|
...
|
@@ -49,7 +50,11 @@ public class ErpSellerGoodsController { |
|
|
importPublishExcutor.publish(req);
|
|
|
}catch (Exception ex){
|
|
|
code = 500;
|
|
|
msg = ex.getMessage();
|
|
|
if(ex instanceof UfoServiceException){
|
|
|
msg = ex.getMessage();
|
|
|
}else{
|
|
|
msg = "系统错误";
|
|
|
}
|
|
|
logger.warn("batchImportPrds fail, req {}, error {}", req, Throwables.getStackTraceAsString(ex));
|
|
|
}finally {
|
|
|
resp = new ApiResponse();
|
...
|
...
|
|