QueryWrapper<CoreCamera> queryWrapper = new QueryWrapper<>();//创建查询对象
queryWrapper.select("is_remote_control").eq("stream",stream);//构建查询条件(返回特定字段,根据条件查询)
CoreCamera coreCamera = coreCameraMapper.selectOne(queryWrapper);//选择单个查询还是列表查询
原创文章,作者:bd101bd101,如若转载,请注明出处:https://blog.ytso.com/275395.html