提交 4cd3e4e1 authored 作者: aiqingguo's avatar aiqingguo

承运同步

上级 829dbf7e
...@@ -12,6 +12,8 @@ import org.springframework.web.bind.annotation.RequestMapping; ...@@ -12,6 +12,8 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;
@FeignClient(name = "transport-service-yitu", url = "${transport-service.host}") @FeignClient(name = "transport-service-yitu", url = "${transport-service.host}")
public interface TransportFeignService { public interface TransportFeignService {
...@@ -22,6 +24,20 @@ public interface TransportFeignService { ...@@ -22,6 +24,20 @@ public interface TransportFeignService {
@RequestMapping(value = "/transport-service/thirdParty/order/orderChildSync", method = RequestMethod.POST) @RequestMapping(value = "/transport-service/thirdParty/order/orderChildSync", method = RequestMethod.POST)
Result<ThirdOrderChildBrokerResultVO> orderChildSync(@RequestBody ThirdOrderChildBrokerParam param); Result<ThirdOrderChildBrokerResultVO> orderChildSync(@RequestBody ThirdOrderChildBrokerParam param);
/**
* 运单支付运费同步
*/
@RequestMapping(value = "/transport-service/thirdParty/order/orderChildPaySync", method = RequestMethod.POST)
Result orderChildPaySync(@RequestBody @NotEmpty(message = "运单编号不能为空") List<String> childNoList);
/**
* 获取运单开票状态
* @return 0-未申请,10-已申请,20-审核失败,30-已开票
*/
@RequestMapping(value = "/transport-service/thirdParty/order/getInvoiceStatus", method = RequestMethod.POST)
Result<Integer> getInvoiceStatus(@RequestBody @NotBlank(message = "运单编号不能为空") String childNo);
/** /**
* 货主同步(法人模式) * 货主同步(法人模式)
* @return 货主用户id * @return 货主用户id
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论