数据同步,新增电站

This commit is contained in:
hzj
2024-05-31 09:23:54 +08:00
parent 9f230278bd
commit 5d263c4be4
9 changed files with 26 additions and 26 deletions

View File

@@ -205,6 +205,7 @@ public class SupervisionDevMainReportPOServiceImpl extends ServiceImpl<Supervisi
* @Date: 2024/5/11
*/
private void checkIp(SupervisionDevMainReportParam supervisionDevMainReportParam, boolean isExcludeSelf) {
LambdaQueryWrapper<SupervisionTempDeviceReport> lambdaQueryWrapper = new LambdaQueryWrapper<>();
lambdaQueryWrapper
.eq(SupervisionTempDeviceReport::getSubstation,supervisionDevMainReportParam.getSupervisionTempDeviceReportParam().getSubstation())

View File

@@ -247,8 +247,10 @@ public class SupervisionTempLineDebugPOServiceImpl extends ServiceImpl<Supervisi
syncTerminalParam.setSubVoltageParam(subVoltageParam);
syncTerminalParam.setLineParam(lineParam);
terminalBaseClient.terminalSync(syncTerminalParam);
String substation = terminalBaseClient.terminalSync(syncTerminalParam).getData();
this.updateStatus(id,5);
tempDevice.setSubstation(substation);
supervisionTempDeviceReportService.updateById(tempDevice);
return null;
}