|
|
@ -126,6 +126,8 @@ public class TerminalExtController extends BaseController {
|
|
|
|
if (!CollectionUtils.isEmpty(result.getList())) {
|
|
|
|
if (!CollectionUtils.isEmpty(result.getList())) {
|
|
|
|
for (View_Dy_Line_Tower_Terminals terminal : result.getList()) {
|
|
|
|
for (View_Dy_Line_Tower_Terminals terminal : result.getList()) {
|
|
|
|
Weathers last = weatherService.getLast(terminal.getId());
|
|
|
|
Weathers last = weatherService.getLast(terminal.getId());
|
|
|
|
|
|
|
|
last.setCmdid(terminal.getCmdid());
|
|
|
|
|
|
|
|
last.setPhase(terminal.getPhase());
|
|
|
|
terminal.setLastWeathers(last);
|
|
|
|
terminal.setLastWeathers(last);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -143,6 +145,8 @@ public class TerminalExtController extends BaseController {
|
|
|
|
if (!CollectionUtils.isEmpty(result.getList())) {
|
|
|
|
if (!CollectionUtils.isEmpty(result.getList())) {
|
|
|
|
for (View_Dy_Line_Tower_Terminals terminal : result.getList()) {
|
|
|
|
for (View_Dy_Line_Tower_Terminals terminal : result.getList()) {
|
|
|
|
LeadPulls last = leadPullsService.getLast(terminal.getId());
|
|
|
|
LeadPulls last = leadPullsService.getLast(terminal.getId());
|
|
|
|
|
|
|
|
last.setCmdid(terminal.getCmdid());
|
|
|
|
|
|
|
|
last.setPhase(terminal.getPhase());
|
|
|
|
terminal.setLastLeadPulls(last);
|
|
|
|
terminal.setLastLeadPulls(last);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|