1.解决pq公共方法查询监测点信息,母线,终端等信息
2.解决device模块swagger页面出不来问题 3.技术监督变电站台账接口增加 4.监测点试运行报告增加,间谐波电压和暂态列表
This commit is contained in:
@@ -7,6 +7,7 @@ import com.njcn.event.pojo.param.EventCountParam;
|
||||
import com.njcn.event.pojo.po.EventDetail;
|
||||
import com.njcn.event.pojo.po.RmpEventDetailPO;
|
||||
import com.njcn.event.pojo.vo.GeneralVO;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
@@ -69,4 +70,10 @@ public interface EventDetailFeignClient {
|
||||
*/
|
||||
@PostMapping("/getAppEventDetailLtAmplitude")
|
||||
HttpResult<List<RmpEventDetailPO>> getAppEventDetailLtAmplitude(@RequestBody EventCountParam param);
|
||||
|
||||
/**
|
||||
* 根据监测点id集合和统计类型,查询暂态信息
|
||||
*/
|
||||
@PostMapping("/getEventDetailByEventType")
|
||||
HttpResult<List<RmpEventDetailPO>> getEventDetailByEventType(@RequestBody EventCountParam param);
|
||||
}
|
||||
|
||||
@@ -76,6 +76,12 @@ public class EventDetailFeignClientFallbackFactory implements FallbackFactory<Ev
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpResult<List<RmpEventDetailPO>> getEventDetailByEventType(EventCountParam param) {
|
||||
log.error("{}异常,降级处理,异常为:{}", "根据监测点id集合和统计类型,查询暂态信息", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,4 +22,8 @@ public class EventCountParam implements Serializable {
|
||||
|
||||
@ApiModelProperty(name="endTime",value="统计截止日期(yyyy-MM-dd)")
|
||||
private String endTime;
|
||||
|
||||
@ApiModelProperty(name="eventType",value="统计类型")
|
||||
private List<String> eventType;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user