|
|
@ -214,7 +214,7 @@ public class YDeviceService extends ServiceImpl<YDeviceMapper, Device> { |
|
|
|
ResultBean rb = ResultBean.fireSuccess(); |
|
|
|
if ("1".equals(device.getType())) { //摄像头
|
|
|
|
Device nvrDevice = this.getById(device.getNvrId()); |
|
|
|
device.setNvrCode(nvrDevice.getVCode()); |
|
|
|
device.setNvrCode(nvrDevice.getNvrCode()); |
|
|
|
device.setNvrSerial(nvrDevice.getSerialNumber()); |
|
|
|
device.setCkId(nvrDevice.getCkId()); |
|
|
|
} |
|
|
|