package com.prolog.cs.biz.inbound.remote;

import com.prolog.framework.bz.core.collection.ValidList;
import com.prolog.framework.common.message.RestMessage;
import com.prolog.framework.core.pojo.Page;
import com.prolog.upcloud.base.inventory.model.WmsInvBatchNumbers;
import com.prolog.upcloud.base.inventory.vo.*;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class BaseInventoryRemoteCallerFallBack implements BaseInventoryRemoteCaller {

	@Override
	public RestMessage<List<InvStockBatchNumberResult>> genBatchNumber(ValidList<InvStockBatchNumber> batchNumbers) {
		// TODO Auto-generated method stub
		return RestMessage.doError("远程调用库存失败!请重试");
	}

	@Override
	public RestMessage updateBatchNumber(ValidList<InvStockBatchNumberUpdate> batchNumbers) {
		// TODO Auto-generated method stub
		return RestMessage.doError("远程调用库存失败!请重试");
	}

	@Override
	public RestMessage<List<WmsInvBatchNumbers>> updateBatchNumberBack(ValidList<InvStockBatchNumberUpdate> batchNumbers) {
		return RestMessage.doError("远程调用库存失败!请重试");
	}

	@Override
	public RestMessage<List<WmsInvBatchNumbers>> getBatchInfoBybatchId(String[] batchId) {
		return RestMessage.doError("远程调用库存失败!请重试");
	}

	@Override
	public RestMessage inStock(ValidList<InvStockIn> invStock) {
		// TODO Auto-generated method stub
		return RestMessage.doError("远程调用库存失败!请重试");
	}

	@Override
	public RestMessage adjustPreStock(ValidList<InvStockIn> invStock) {
		// TODO Auto-generated method stub
		return RestMessage.doError("远程调用库存失败!请重试");
	}

	@Override
	public RestMessage inStockCheck(InvStockCheck check) {
		// TODO Auto-generated method stub
		return RestMessage.doError("远程调用库存失败!请重试");
	}

	@Override
	public RestMessage inStockBatchCheck(ValidList<InvStockIn> invStock) {
		// TODO Auto-generated method stub
		return RestMessage.doError("远程调用库存失败!请重试");
	}

	@Override
	public RestMessage<Page<BatchNumberListVO>> getBatchNumber(String warehouseId, String cargoOwnerId, String itemId,
			String manufacturerLotNum, Integer pageSize, Integer pageNum) {
		// TODO Auto-generated method stub
		return RestMessage.doError("远程调用库存失败!请重试");
	}

	@Override
	public RestMessage<List<BatchExistsVO>> getBatchNumbersExists(String warehouseId, String[] batchIds) {
		// TODO Auto-generated method stub
		return RestMessage.doError("远程调用库存失败!请重试");
	}

	@Override
	public RestMessage deleteBatchNumbersNotExists(BatchExistsDelVO delVO) {
		// TODO Auto-generated method stub
		return RestMessage.doError("远程调用库存失败!请重试");
	}

	@Override
	public RestMessage inCancel(InvStockCancel stockCancel) {
		// TODO Auto-generated method stub
		return RestMessage.doError("远程调用库存失败!请重试");
	}

	@Override
	public RestMessage<List<BatchNumberListVO>> getBatchNumberBasicInfo(String[] batchIds) {
		return RestMessage.doError("远程调用库存失败!请重试");
	}

	@Override
	public RestMessage<?> askIntegration(AskIntegrationVo vo) {
		return RestMessage.doError("远程调用库存失败!请重试");
	}

	@Override
	public RestMessage<List<WmsInvStockQtyVO>> getAvailableQuantity(List<WmsInvStockQtyQueryVO> qtyQueryVO) {
		return RestMessage.doError("远程调用库存失败!请重试");
	}


}
