package com.ozs.mdm.service;

import java.util.List;
import java.util.Map;

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

import com.ozs.mdm.util.R;

/**
 * 
 * @ClassName: KpiConfigApi
 * @Description:kpi服务提供接口
 * @author: Zhao You Kai
 * @date: Mar 6, 2019 10:35:42 AM
 */
@FeignClient(value = "KPIM")
public interface KpiConfigApi {
	/**
	 * 根据token获取账号信息
	 * 
	 * @param accountId
	 * @return
	 */
	@GetMapping("/kpim/kpiConfig/ifColumnInUse")
	public R<Map<String, Object>> ifColumnInUse(@RequestParam("id") String id);

	/**
	 * 根据token获取账号信息
	 * 
	 * @param accountId
	 * @return
	 */
	@GetMapping("/kpim/kpiConfig/ifColumnsInUse")
	public R<Map<String, Object>> ifColumnsInUse(@RequestParam("ids") List<String> ids);

}
