| | |
| | | } |
| | | // 设置类型-切斜摄影 |
| | | if (odmTaskInfo.getType() == OdmTypeEnum.TILT.getType().intValue()) { |
| | | attach.setResultType(AttachResultTypeEnum.TILT.getType().toString()); |
| | | attach.setResultType(null); |
| | | } |
| | | // 设置类型-三维白膜 |
| | | if (odmTaskInfo.getType() == OdmTypeEnum.ALB.getType().intValue()) { |
| | | attach.setResultType(AttachResultTypeEnum.ALB.getType().toString()); |
| | | attach.setResultType(null); |
| | | } |
| | | // 设置区域编号 |
| | | attach.setAreaCode(odmTaskInfo.getAreaCode()); |
| | |
| | | attach.setPatrolTaskId(odmTaskInfo.getWaylineJobId()); |
| | | } |
| | | // 设置类型 |
| | | attach.setResultType(AttachResultTypeEnum.ORT.getType().toString()); |
| | | attach.setResultType(null); |
| | | // 设置设备编号 |
| | | if (!Strings.isBlank(odmTaskInfo.getDeviceSn())) { |
| | | attach.setDeviceSn(odmTaskInfo.getDeviceSn()); |
| | |
| | | |
| | | // 设置类型-三维白膜 |
| | | // 测试用,临时用,用后需要手动数据库修改 |
| | | attach.setResultType(AttachResultTypeEnum.ALB.getType().toString()); |
| | | attach.setResultType(null); |
| | | |
| | | log.info("发起远程调用保存三维白膜/倾斜附件信息,tif 路径:{}", path); |
| | | Boolean isSaveAttach = attachClient.saveAttachInfo(attach); |