@ -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();