package com.inspect.patrol.service;

import com.alibaba.fastjson.JSONObject;
import com.inspect.base.core.web.domain.AjaxResult;
import com.inspect.base.core.web.page.TableDataInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("inspect-metadata")
public interface BasedataEqpbookService {
    @GetMapping({"/eqpbook/{eqpbookId}"})
    AjaxResult queryById(@PathVariable("eqpbookId") String eqpBookId);

    @GetMapping({"/eqpbook/list"})
    TableDataInfo list(@RequestParam("basedataEqpbook") JSONObject jsonObject);
}
