fix: 解决拉取数据时,定位地址map为空,json转换为了 “null” 问题

pull/132/head
shuliYao 1 year ago
parent 17747dd4bc
commit b0edc74a4c

@ -66,7 +66,10 @@ public class PictureDisposeTask implements Runnable{
// } // }
//不为空开始组装参数 入库 //不为空开始组装参数 入库
OcrPicture picture = new OcrPicture(); OcrPicture picture = new OcrPicture();
picture.setLocation(JSONObject.toJSONString(pictureSourceResult.getLocation())); //定位信息
if(pictureSourceResult.getLocation()!=null){
picture.setLocation(JSONObject.toJSONString(pictureSourceResult.getLocation()));
}
//业务主体 //业务主体
picture.setTenantId(pictureSourceResult.getAccountNo()); picture.setTenantId(pictureSourceResult.getAccountNo());
//业务主体名称 //业务主体名称

Loading…
Cancel
Save