美文网首页
blob字段查询

blob字段查询

作者: 盗生一 | 来源:发表于2020-11-01 15:30 被阅读0次
图片.png 图片.png 图片.png

数据库blob存照片:查询接收需要使用byte[]


image.png

显示照片:

        List<FaceInfoInfo> list = faceInfoService.lambdaQuery().select(FaceInfoInfo::getBkgPicUrl, FaceInfoInfo::getCameraAddress)
                .like(FaceInfoInfo::getCameraAddress,"火车站")
                .list();
        response.getOutputStream().write(list.get(0).getBkgPicUrl());

相关文章

网友评论

      本文标题:blob字段查询

      本文链接:https://www.haomeiwen.com/subject/bzpumktx.html