| | |
| | | */ |
| | | @FeignClient( |
| | | value = AppConstant.APPLICATION_NAME_OMD, |
| | | fallback = IDictClientFallback.class |
| | | fallback = IBtmTypeFallback.class |
| | | ) |
| | | public interface IBtmTypeClient { |
| | | |
| | |
| | | String API_PREFIX = "/client"; |
| | | /** |
| | | * 参照列表查询 |
| | | */ |
| | | String GET_REF_PAGE = API_PREFIX + "/btm-type/get-ref-page"; |
| | | /** |
| | | * 参照列表查询无分页 |
| | | */ |
| | | String GET_REF = API_PREFIX + "/btm-type/get-ref"; |
| | | /** |
| | |
| | | * @param domain 领域值 |
| | | * @return 查询结果 |
| | | */ |
| | | @GetMapping(GET_REF_PAGE) |
| | | R<IPage<BtmTypeVO>> getRefPage(@RequestParam("condition")Map<String,Object> condition, @RequestParam("query")Query query, @RequestParam("domain") String domain); |
| | | |
| | | /** |
| | | * 参照列表查询 |
| | | * @param condition 查询条件 |
| | | * @param domain 领域值 |
| | | * @return 查询结果 |
| | | */ |
| | | @GetMapping(GET_REF) |
| | | R<IPage<BtmTypeVO>> getRef(@RequestParam("condition")Map<String,Object> condition, @RequestParam("query")Query query, @RequestParam("domain") String domain); |
| | | R<List<BtmTypeVO>> getRef(@RequestParam("condition")Map<String,Object> condition, @RequestParam("domain") String domain); |
| | | |
| | | /** |
| | | * 根据英文名称批量查询对象 |