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

import com.prolog.cs.biz.inbound.dto.RelationCodeResultDTO;
import com.prolog.cs.biz.inbound.vo.RelationCodeResultVO;
import com.prolog.cs.biz.outbound.model.ContainerBindTaskVO;
import com.prolog.framework.common.message.RestMessage;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(value = "${prolog.service.outbound}")
public interface OutboundCaller {
	
	@PostMapping("/containerBindTask/queryList")
	public RestMessage<List<ContainerBindTaskVO>> queryList(@RequestBody ContainerBindTaskVO containerBindTaskVO);

	@PostMapping("/containerBindTask/updateTaskStatus")
	public RestMessage<Object> updateTaskStatus(@RequestBody List<String> taskIds);

	@PostMapping("/supervisionCode/relationSupervisionCode")
	public RestMessage<List<RelationCodeResultDTO>> relationSupervisionCode(@RequestBody List<RelationCodeResultVO> resultVOS);
}
