ICheckClient.java 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. package com.blade.check.feign;
  2. import com.blade.check.entity.AuditPathsLevels;
  3. import org.springblade.core.tool.api.R;
  4. import org.springframework.cloud.openfeign.FeignClient;
  5. import org.springframework.web.bind.annotation.GetMapping;
  6. import org.springframework.web.bind.annotation.RequestParam;
  7. import java.util.List;
  8. @FeignClient(
  9. value = "blade-check"
  10. )
  11. /**
  12. * 商品信息对外访问API
  13. */
  14. public interface ICheckClient {
  15. //通过唯一的actId查询审批等级
  16. @GetMapping("/auditpathsacts/listLevelsByActId")
  17. List<AuditPathsLevels> listLevelsByActId(@RequestParam("actId") int actId,@RequestParam("fidStatus") int fidStatus);
  18. //通过actId查询是否开启审批
  19. @GetMapping("/auditpathsacts/getActsByActId")
  20. AuditPathsLevels getActsByActId(@RequestParam("actId") int actId,@RequestParam("fidStatus") int fidStatus);
  21. /**
  22. * 获取商品信息
  23. *
  24. * @param Id
  25. * @return
  26. *//*
  27. @GetMapping(GOODSD_ESCMESSAGE)
  28. R<GoodsDescVO> selectGoodsMessage(@RequestParam("Id") Long Id);
  29. *//**
  30. * 获取商品信息
  31. *
  32. * @param code
  33. * @return
  34. *//*
  35. @GetMapping(GOODS_BY_CODE)
  36. R<GoodsDesc> GoodsByCode(@RequestParam("code") String code);
  37. *//**
  38. * 获取所有商品基础信息
  39. *
  40. * @return 商品集合
  41. *//*
  42. @GetMapping(GOODS_BASIC)
  43. R<List<GoodsDescVO>> selectGoodsBasic();
  44. *//**
  45. * 根据商品id获取商品规格
  46. * @param goodId
  47. * @return
  48. *//*
  49. @GetMapping(GET_SPECIFICATION)
  50. R<List<String>> getSpecification(@RequestParam("goodId") Long goodId);
  51. *//**
  52. * 获取商品id
  53. * @param code
  54. * @param cname
  55. * @param brand
  56. * @param brandItem
  57. * @param placeProduction
  58. * @param specsOne
  59. * @param specsTwo
  60. * @return
  61. *//*
  62. @GetMapping(GET_GOOD_ID)
  63. List<Long> getGoodId(@RequestParam(value = "code",required = false)String code,@RequestParam(value = "cname",required = false)String cname,
  64. @RequestParam(value = "brand",required = false)String brand,@RequestParam(value = "brandItem",required = false)String brandItem,
  65. @RequestParam(value = "placeProduction",required = false)String placeProduction,
  66. @RequestParam(value = "specsOne",required = false)String specsOne,@RequestParam(value = "specsTwo",required = false)String specsTwo);
  67. *//**
  68. * 获取商品类别
  69. * @param goodId
  70. * @return
  71. *//*
  72. @GetMapping(GOOD_TYPE_ID)
  73. GoodsType goodTypeId(@RequestParam("goodId") Long goodId);*/
  74. }