sql字段修改前端联调
This commit is contained in:
@@ -24,7 +24,11 @@ import java.util.List;
|
||||
* @version 1.0.0
|
||||
* @date 2022年02月14日 14:02
|
||||
*/
|
||||
@FeignClient(value = ServerInfo.DEVICE, path = "/deviceInfo", fallbackFactory = GeneralDeviceInfoClientFallbackFactory.class, contextId = "deviceInfo")
|
||||
@FeignClient(
|
||||
value = ServerInfo.DEVICE,
|
||||
path = "/deviceInfo",
|
||||
fallbackFactory = GeneralDeviceInfoClientFallbackFactory.class,
|
||||
contextId = "deviceInfo")
|
||||
public interface GeneralDeviceInfoClient {
|
||||
|
||||
|
||||
|
||||
@@ -22,7 +22,11 @@ import java.util.Map;
|
||||
* @author denghuajun
|
||||
* @date 2022/2/28
|
||||
*/
|
||||
@FeignClient(value = ServerInfo.DEVICE, path = "/line", fallbackFactory = LineFeignClientFallbackFactory.class, contextId = "line")
|
||||
@FeignClient(
|
||||
value = ServerInfo.DEVICE,
|
||||
path = "/line",
|
||||
fallbackFactory = LineFeignClientFallbackFactory.class,
|
||||
contextId = "line")
|
||||
public interface LineFeignClient {
|
||||
|
||||
/**
|
||||
@@ -304,4 +308,7 @@ public interface LineFeignClient {
|
||||
*/
|
||||
@PostMapping("/getOnIntegrityByIds")
|
||||
HttpResult<List<RStatIntegrityVO>> getOnIntegrityByIds(@RequestBody OnlineRateParam param);
|
||||
|
||||
@PostMapping("getOnIntegrityByIdsAndTime")
|
||||
HttpResult<List<RStatIntegrityVO>> getOnIntegrityByIdsAndTime(@RequestBody LineBaseQueryParam param);
|
||||
}
|
||||
|
||||
@@ -224,10 +224,13 @@ public class LineFeignClientFallbackFactory implements FallbackFactory<LineFeign
|
||||
public HttpResult<List<RStatIntegrityVO>> getOnIntegrityByIds(OnlineRateParam param) {
|
||||
log.error("{}异常,降级处理,异常为:{}", "获取监测点数据完整率(谐波专用): ", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public HttpResult<List<RStatIntegrityVO>> getOnIntegrityByIdsAndTime(LineBaseQueryParam param) {
|
||||
log.error("{}异常,降级处理,异常为:{}", "获取监测点数据完整率: ", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,4 +25,10 @@ public class LineBaseQueryParam {
|
||||
|
||||
@ApiModelProperty(name = "searchValue",value = "关键字搜索值")
|
||||
private String searchValue;
|
||||
|
||||
@ApiModelProperty(name = "startTime", value = "开始时间")
|
||||
private String startTime;
|
||||
|
||||
@ApiModelProperty(name = "endTime", value = "结束时间")
|
||||
private String endTime;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user