Browse Source

摄像机配置

platform-api
4670101279 2 years ago
parent
commit
c97d31de5e
  1. 3
      ruoyi-code/src/main/java/com/ruoyi/code/camera/service/impl/CameraNetFtpServiceImpl.java

3
ruoyi-code/src/main/java/com/ruoyi/code/camera/service/impl/CameraNetFtpServiceImpl.java

@ -64,6 +64,9 @@ public class CameraNetFtpServiceImpl extends ServiceImpl<CameraNetFtpMapper, Cam @@ -64,6 +64,9 @@ public class CameraNetFtpServiceImpl extends ServiceImpl<CameraNetFtpMapper, Cam
if(!result){
return R.error();
}
CameraNetFtp localCfg = getOne(new QueryWrapper<CameraNetFtp>().eq("devsn",netFtp.getDevsn()));
netFtp.setId(localCfg.getId());
updateById(netFtp);
return R.ok();
}

Loading…
Cancel
Save