Commit c386785e authored by 18310373984@163.com's avatar 18310373984@163.com

附件

parent aeb5f0dc
...@@ -124,14 +124,6 @@ public class SrvOrganEmpServiceImpl implements SrvOrganEmpService { ...@@ -124,14 +124,6 @@ public class SrvOrganEmpServiceImpl implements SrvOrganEmpService {
} }
//获取护理人员上传的标准照片 //获取护理人员上传的标准照片
Result<List<ChFndAttach>> photoList = attachFeignService.selectAttachs(empId, AttachType.SRV_EMP_Photo.getUploadType()); Result<List<ChFndAttach>> photoList = attachFeignService.selectAttachs(empId, AttachType.SRV_EMP_Photo.getUploadType());
for(int i=0;i<photoList.getData().size();i++){
ChFndAttach ch=photoList.getData().get(i);
File file=new File(ch.getFilePath());
ch.setFilePath(file.getAbsolutePath());
log.info("getAbsolutePath--:"+file.getAbsolutePath());
log.info("getCanonicalPath--:"+file.getCanonicalPath());
}
if (ResultCode.SUCCESS.getCode().equals(photoList.getCode())) { if (ResultCode.SUCCESS.getCode().equals(photoList.getCode())) {
srvOrganEmpVo.setPhotoList(photoList.getData()); srvOrganEmpVo.setPhotoList(photoList.getData());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment