| | |
| | | log.error("service方法[SysClientImpl.deleteTaskTodo]调用异常:"+e, e); |
| | | } |
| | | } |
| | | /** |
| | | * 根据id查询附件信息 |
| | | * @url {ctx}/api/client/fileInfo/getFileInfoById |
| | | * @param id 条件 |
| | | * @return |
| | | */ |
| | | public FileInfoBaseDTO getFileInfoById(String id){ |
| | | FileInfoBaseDTO fileInfoBaseDTO = null; |
| | | try{ |
| | | ReturnBO returnBo = sysClient.getFileInfoById(id); |
| | | if (ReturnConsts.OK == returnBo.getCode()){ |
| | | if (ObjectUtils.isNotEmpty(returnBo.getData())){ |
| | | fileInfoBaseDTO = new FileInfoBaseDTO(); |
| | | fileInfoBaseDTO = objectMapper.convertValue(returnBo.getData(), FileInfoBaseDTO.class); |
| | | } |
| | | } |
| | | }catch (Exception e){ |
| | | log.error("service方法[SysClientImpl.getFileInfoById]调用异常:"+e, e); |
| | | } |
| | | return fileInfoBaseDTO; |
| | | } |
| | | |
| | | } |