|
|
@ -7,6 +7,7 @@ import com.hnac.hzims.fdp.vo.UpdateFaultStateVo; |
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
import org.springframework.cloud.openfeign.FeignClient; |
|
|
|
import org.springframework.cloud.openfeign.FeignClient; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam; |
|
|
|
|
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
|
|
|
@ -32,7 +33,7 @@ public interface IFdpMonitorClient { |
|
|
|
R<List<String>> getRealIds(); |
|
|
|
R<List<String>> getRealIds(); |
|
|
|
|
|
|
|
|
|
|
|
@GetMapping(GET_FAULT_LIST) |
|
|
|
@GetMapping(GET_FAULT_LIST) |
|
|
|
String getFaultList(List<String> stations); |
|
|
|
String getFaultList(@RequestParam(value = "stations",required = false) List<String> stations); |
|
|
|
|
|
|
|
|
|
|
|
@GetMapping(UPDATE_FAULT_STATE) |
|
|
|
@GetMapping(UPDATE_FAULT_STATE) |
|
|
|
String updateFaultState(UpdateFaultStateVo state); |
|
|
|
String updateFaultState(UpdateFaultStateVo state); |
|
|
|