AmsFeign.java 852 B

1234567891011121314151617181920212223242526
  1. package com.steerinfo.dil.feign;
  2. import com.steerinfo.framework.controller.RESTfulResult;
  3. import org.springframework.cloud.openfeign.FeignClient;
  4. import org.springframework.web.bind.annotation.PostMapping;
  5. import org.springframework.web.bind.annotation.RequestBody;
  6. import java.util.Map;
  7. /**
  8. * @ author :HJG
  9. * @ time :2022/1/10 14:16
  10. */
  11. @FeignClient(value = "dil-ams-api", url = "${openfeign.AmsFeign.url}")
  12. public interface AmsFeign {
  13. //销售焦炭自动派单
  14. @PostMapping("api/v1/ams/amssaleordermaterials/dispatchTruckOrderByCarrier")
  15. RESTfulResult dispatchTruckOrderByCarrier(@RequestBody Map<String, Object> mapValue);
  16. //根据物资查询运输物资单价
  17. @PostMapping(value = "/api/v1/ams/amscontracttruckprices/getInwardPriceBy")
  18. Map<String,Object> getInwardPriceBy(Map<String, Object> priceMap);
  19. }