![](https://img.haomeiwen.com/i14288445/e5559566312e11f9.png)
![](https://img.haomeiwen.com/i14288445/36be53e302113814.png)
![](https://img.haomeiwen.com/i14288445/69de7dff73da4e41.png)
数据库blob存照片:查询接收需要使用byte[]
![](https://img.haomeiwen.com/i14288445/d1dc524c475a66f7.png)
显示照片:
List<FaceInfoInfo> list = faceInfoService.lambdaQuery().select(FaceInfoInfo::getBkgPicUrl, FaceInfoInfo::getCameraAddress)
.like(FaceInfoInfo::getCameraAddress,"火车站")
.list();
response.getOutputStream().write(list.get(0).getBkgPicUrl());
网友评论