package com.inspect.partrolresult.client;

import com.inspect.partrolresult.domain.BasedataEqpBookChannel;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("inspect-metadata")
public interface BaseDataClient {
    @GetMapping({"/patrolpointmnt/patrolpoint/superSystemSynPatrolpointModel"})
    String superSystemSynPatrolPointModel();

    @GetMapping({"/eqpbook/setSendServiceForMap"})
    String setSendServiceForMap();

    @PostMapping({"/patrolpointmnt/patrolpoint/queryPatrolPointId"})
    Long queryPatrolPointId(@RequestBody String pointId);

    @PostMapping({"/eqpbook/queryEqpbookCode"})
    //List<BasedataEqpBookChannel> queryEqpBookCode(@RequestBody String patrolDeviceCode);
    String queryEqpBookCode(@RequestBody String patrolDeviceCode);
}
