package thyyxxk.webserver.service.externalhttp;

import com.alibaba.fastjson.JSONObject;
import com.dtflys.forest.annotation.Get;
import com.dtflys.forest.annotation.Query;
import org.springframework.stereotype.Service;

@Service
public interface PowersiTjReport {

    /**
     *@Author hsh
     *@Description // 体检者个人信息
     *@Date 2022/8/15 10:40
     *@Param [obj]
     *@Return com.alibaba.fastjson.JSONObject
     **/
    @Get("http://172.16.32.183:8888/bdp/dataservice/api/e33647d980f74dcfb079baad503670a4?tjid=${id}")
    JSONObject getTjReportPersonalInfo(@Query("id") String id);

    /**
     *@Author hsh
     *@Description // 体检汇总信息
     *@Date 2022/8/15 10:42
     *@Param [obj]
     *@Return com.alibaba.fastjson.JSONObject
     **/
    @Get("http://172.16.32.183:8888/bdp/dataservice/api/7033a7386d0e45d295b7a13dd079704e?tjid=${id}")
    JSONObject getTjReportTotalInfo(@Query("id") String id);

    /**
     *@Author hsh
     *@Description // 体检结果
     *@Date 2022/8/15 10:46
     *@Param [obj]
     *@Return com.alibaba.fastjson.JSONObject
     **/
    @Get("http://172.16.32.183:8888/bdp/dataservice/api/92eef45c69974df4869b3eed05f5234f?tjid=${id}")
    JSONObject getTjReportResult(@Query("id") String id);

    /**
     *@Author hsh
     *@Description // 体检模块信息
     *@Date 2022/8/15 10:43
     *@Param [obj]
     *@Return com.alibaba.fastjson.JSONObject
     **/
    @Get("http://172.16.32.183:8888/bdp/dataservice/api/f9c6ad55fa1b43b8a6f9e44cc7e126b9?tjid=${id}")
    JSONObject getTjReportModuleInfo(@Query("id") String id);

}
