|
@ -43,7 +43,9 @@ public class NuclearCoreController { |
|
|
for (NuclearCore l : list) { |
|
|
for (NuclearCore l : list) { |
|
|
int id = l.getId(); |
|
|
int id = l.getId(); |
|
|
// 根据id获取曝光时间等 |
|
|
// 根据id获取曝光时间等 |
|
|
Camera byId = cameraService.getById(id); |
|
|
|
|
|
|
|
|
QueryWrapper<Camera> queryWrapper = new QueryWrapper<>(); |
|
|
|
|
|
queryWrapper.eq("coreid", id); |
|
|
|
|
|
Camera byId = cameraService.getOne(queryWrapper); |
|
|
NuclearStation nuclearStation = nuclearStationService.getById(l.getStationId()); |
|
|
NuclearStation nuclearStation = nuclearStationService.getById(l.getStationId()); |
|
|
if(nuclearStation != null) { |
|
|
if(nuclearStation != null) { |
|
|
l.setStationName(nuclearStation.getName()); |
|
|
l.setStationName(nuclearStation.getName()); |
|
|