| | |
| | | public ResponseResult insertDb(String dkbh, String workspaceId) throws IOException { |
| | | List<MediaFileEntity> list = getPatches.listPohto(dkbh, workspaceId); |
| | | if(list.size()==0){ |
| | | return ResponseResult.error("未找到照片信息");} |
| | | return ResponseResult.error("未找到该照片、视频信息");} |
| | | LotInfo lotInfo = getPatches.getLotinfo(dkbh, workspaceId); |
| | | if(lotInfo==null){ |
| | | return ResponseResult.error("未找到图斑信息");} |
| | | return ResponseResult.error("未找到该图斑信息");} |
| | | TbFjEntity entity=tbFJService.insertData(list, lotInfo); |
| | | if (entity!=null){ |
| | | return ResponseResult.success("上传成功"); |