package cn.com.tenlion.systembase.remote.populationmsg;

import cn.com.tenlion.systembase.pojo.dtos.population.PopulationDTO;
import ink.wgink.annotation.rpc.rest.RemoteService;
import ink.wgink.annotation.rpc.rest.method.RemoteGetMethod;
import ink.wgink.annotation.rpc.rest.params.RemotePathParams;
import ink.wgink.annotation.rpc.rest.params.RemoteQueryParams;
import ink.wgink.annotation.rpc.rest.params.RemoteQueryParamsMap;
import ink.wgink.annotation.rpc.rest.params.RemoteServerParams;

import java.util.Map;

/**
 * @ClassName: IPopulationMsgService
 * @Description: 通过身份证号码，查询人口信息表中的数据
 * @Author: CodeFactory
 * @Date: 2021-09-24 17:03:54
 * @Version: 3.0
 **/

@RemoteService
public interface IPopulationMsgService {

    @RemoteGetMethod("/app/basepopulationinfo/release/getByIdCardNumber/{userId}")
    PopulationDTO getByIdCardNumber(@RemoteServerParams String remotePath, @RemotePathParams("userId") String userId);

    @RemoteGetMethod("resource/key-people-concerns/getbasepopulationinfo")
    PopulationDTO getBaseInfo(@RemoteServerParams String remotePath, @RemoteQueryParamsMap Map<String, Object> params, @RemoteQueryParams("access_token") String access_token);

}