package com.yeejoin.equipmanage.fegin;

import com.alibaba.fastjson.JSONObject;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import org.typroject.tyboot.core.restful.utils.ResponseModel;

import java.util.List;


/**
 * @author DELL
 */
@FeignClient(name = "${mcb.feign.name}", path = "warning", configuration = {FeignConfiguration.class})
public interface McbFeign {

    /***
     * <pre>
     * @Description: 根据告警id查询缺陷治理情况
     * </pre>
     *
     * @MethodName:
     * @Param:
     * @Return: null
     * @Throws
     * @Author keyong
     * @Date 2022/9/27 17:46
     */
    @RequestMapping(value = "/warning-warning-info/page", method = RequestMethod.GET)
    JSONObject list(@RequestParam(value = "current") int current,@RequestParam(value = "size") int size,@RequestParam(value = "objectId", required = false) String objectId);



}
