sql兼容达梦调整
This commit is contained in:
@@ -122,8 +122,8 @@ public class LineDetailDataVO {
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
@ApiModelProperty(name = "新能源场站信息ID")
|
||||
private String obyId;
|
||||
@ApiModelProperty(name = "监测对象信息ID")
|
||||
private String objId;
|
||||
|
||||
@ApiModelProperty(name = "对象类型大类")
|
||||
private String bigObjType;
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
device.com_flag comFlag,
|
||||
1 as lineType,
|
||||
0 as type,
|
||||
lineDetail.obj_id,
|
||||
lineDetail.monitor_flag as isUpToGrid,
|
||||
point.name pointName
|
||||
</if>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
line.NAME srbName,
|
||||
sub.Lng coordY,
|
||||
sub.Lat coordX,
|
||||
"blue" color,
|
||||
'blue' color,
|
||||
dic.name scale
|
||||
FROM
|
||||
pq_line line,
|
||||
|
||||
@@ -109,7 +109,7 @@ public class VoltageRideThroughEventServiceImpl implements VoltageRideThroughEve
|
||||
//过滤掉不符合的事件(eventIds为有效事件ID)
|
||||
eventNewStationVos = eventNewStationVos.stream().filter(item -> eventIds.contains(item.getEventId())).collect(Collectors.toList());
|
||||
List<LineDetailDataVO> lineDetailDataVOS = lineFeignClient.getLineDetailList(lineIds).getData();
|
||||
Map<String, String> lineDetailDataMap = lineDetailDataVOS.stream().collect(Collectors.toMap(LineDetailDataVO::getLineId, LineDetailDataVO::getObyId));
|
||||
Map<String, String> lineDetailDataMap = lineDetailDataVOS.stream().collect(Collectors.toMap(LineDetailDataVO::getLineId, LineDetailDataVO::getObjId));
|
||||
//特殊处理事件集合中新能源场站名称
|
||||
List<NewUserReportVO> userReportVOS = userLedgerFeignClient.getUserReportByIds(new ArrayList<>(lineDetailDataMap.values())).getData();
|
||||
Map<String, String> userReportMap = userReportVOS.stream().collect(Collectors.toMap(NewUserReportVO::getId, NewUserReportVO::getProjectName));
|
||||
|
||||
Reference in New Issue
Block a user