ke
2024-07-19 08a962d2925baa255207fdf979e6fee794f1773b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package cn.gistack.sm.sjztmd.feign;
 
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
 
import java.text.ParseException;
import java.util.List;
 
@FeignClient(
    value = "blade-sm",
    fallback = ISjztMdClientFallback.class
)
public interface ISjztMdClient {
    String API_PREFIX = "/client";
 
    String GENERATE_DAY_REPORT_FLOOD = API_PREFIX + "generateDayReportFlood";
 
    String GET_RESERVOIR_RAINFALL_FORECAST = API_PREFIX + "/getReservoirRainfallForecast";
 
    //保存昨日报汛内容
    String SAVE_YESTERDAY_FLOOD_REPORT_CONTENT = API_PREFIX + "/saveYesterdayFloodReportContent";
 
    String GET_PROJECT_CHECK_STATUS = API_PREFIX + "/updateProjectCheckStatus";
 
    @GetMapping(GENERATE_DAY_REPORT_FLOOD)
    String generateDayReportFlood(@RequestParam("isShow") String isShow) throws Exception;
 
    @GetMapping(SAVE_YESTERDAY_FLOOD_REPORT_CONTENT)
    String saveYesterdayFloodReportContent(@RequestParam("isShow") String isShow) throws Exception;
 
 
    @GetMapping(GET_RESERVOIR_RAINFALL_FORECAST)
    void getReservoirRainfallForecast(@RequestParam("dayIndexList") List<String> dayIndexList) throws Exception;
 
    @GetMapping(GET_PROJECT_CHECK_STATUS)
    void setGetProjectCheckStatus() throws Exception;
 
}