fix: 优化电压空判断

dev
huangfeng 7 months ago
parent 8da684e125
commit 08994dcb45

@ -197,7 +197,9 @@ public class LineServiceImpl implements LineService {
private void fillOther(List<Lines> list) { private void fillOther(List<Lines> list) {
for (Lines line : list) { for (Lines line : list) {
DyLevel dy = newCacheService.getDy(line.getDyLevelId()); DyLevel dy = newCacheService.getDy(line.getDyLevelId());
line.setDyLevelName(dy.getName()); if (dy != null) {
line.setDyLevelName(dy.getName());
}
} }
} }

Loading…
Cancel
Save