package com.steerinfo.dil.feign; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestParam; import java.math.BigDecimal; import java.util.Map; /** * @author hujianguo * @create 2021-10-29 11:23 */ @FeignClient(value = "dil-join-api-dev", url = "${openfeign.JoinFeign.url}") public interface JoinFeign { // 得到销售订单信息 @PostMapping("/api/v1/join/amssaleorder/getSaleOrder") Map getSaleOrder(@RequestParam BigDecimal saleOrderId); // 推送销售订单到金蝶 @PostMapping("/api/v1/join/wsface/pushSaleOrderToEas") Map pushSaleOrderToEas(@RequestBody Map map); // 同步关闭金蝶销售订单 @PostMapping("/api/v1/join/wsface/deleteSaleOrderToEas") Map deleteSaleOrderToEas(@RequestBody Map map); // 推送车牌号到金蝶 @PostMapping("/api/v1/join/wsface/pushCarNumberToEas") Map pushCarNumberToEas(@RequestBody Map map); // 查询车牌号和金蝶分录 @PostMapping("/api/v1/join/amssaleorder/findCarNumberByOrderId") Map findCarNumberByOrderId(@RequestParam BigDecimal saleOrderMaterialId); }