DepotSharedFeignService.java 858 B

12345678910111213141516171819202122232425
  1. package com.chinaitop.depot.feignService;
  2. import org.springframework.cloud.openfeign.FeignClient;
  3. import org.springframework.http.MediaType;
  4. import org.springframework.web.bind.annotation.RequestMapping;
  5. import org.springframework.web.bind.annotation.RequestMethod;
  6. import org.springframework.web.bind.annotation.RequestParam;
  7. @FeignClient(value="DEPOT-SHARED")
  8. public interface DepotSharedFeignService {
  9. /**
  10. * 更改一条粮情卡所挂载的自检数据的粮食性质
  11. * @param id 自检数据ID
  12. * @param lsxz 粮食性质
  13. * @return
  14. */
  15. @RequestMapping(value = "/grainCard/restQualitycheckHwxz", produces = MediaType.APPLICATION_JSON_VALUE, method=RequestMethod.POST)
  16. void restQualitycheckHwxz(
  17. @RequestParam("houseId") Integer houseId,
  18. @RequestParam("warehouseId") Integer warehouseId,
  19. @RequestParam("lsxz") String lsxz
  20. );
  21. }