|
|
|
@ -9,6 +9,8 @@ import com.glxp.api.req.collect.CollectOrderRequest;
|
|
|
|
|
import com.glxp.api.res.PageSimpleResponse;
|
|
|
|
|
import com.glxp.api.service.collect.IoCollectOrderService;
|
|
|
|
|
import com.glxp.api.util.IntUtil;
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
import org.apache.commons.lang3.exception.ExceptionUtils;
|
|
|
|
|
import org.jfree.util.Log;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
import org.springframework.transaction.annotation.Isolation;
|
|
|
|
@ -18,6 +20,7 @@ import javax.annotation.Resource;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
@Service
|
|
|
|
|
@Slf4j
|
|
|
|
|
public class YPCF002Download implements IDownload {
|
|
|
|
|
@Resource
|
|
|
|
|
private ErpBasicClient erpBasicClient;
|
|
|
|
@ -64,7 +67,7 @@ public class YPCF002Download implements IDownload {
|
|
|
|
|
return ResultVOUtils.error(500, "下载第三方系统产品信息异常");
|
|
|
|
|
}
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|
log.error("拉取第三方单据错误==="+ ExceptionUtils.getStackTrace(e));
|
|
|
|
|
return ResultVOUtils.error(500, e.getMessage());
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|