添加字段
This commit is contained in:
@@ -19,4 +19,5 @@ public class PqIcdPathDTO {
|
|||||||
private String fileName;
|
private String fileName;
|
||||||
//icd文件存储的地址
|
//icd文件存储的地址
|
||||||
private String filePath;
|
private String filePath;
|
||||||
|
private String devType;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ public class PqIcdPathController extends BaseController {
|
|||||||
pqIcdPathDTO.setUpdateTime(LocalDateTimeUtil.format(temp.getUpdateTime(), DatePattern.NORM_DATETIME_PATTERN));
|
pqIcdPathDTO.setUpdateTime(LocalDateTimeUtil.format(temp.getUpdateTime(), DatePattern.NORM_DATETIME_PATTERN));
|
||||||
pqIcdPathDTO.setFileName(temp.getPath().substring(temp.getPath().lastIndexOf('/') + 1));
|
pqIcdPathDTO.setFileName(temp.getPath().substring(temp.getPath().lastIndexOf('/') + 1));
|
||||||
pqIcdPathDTO.setFilePath(temp.getPath());
|
pqIcdPathDTO.setFilePath(temp.getPath());
|
||||||
|
pqIcdPathDTO.setDevType(temp.getName());
|
||||||
return pqIcdPathDTO;
|
return pqIcdPathDTO;
|
||||||
}).collect(Collectors.toList());
|
}).collect(Collectors.toList());
|
||||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, result, methodDescribe);
|
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, result, methodDescribe);
|
||||||
|
|||||||
Reference in New Issue
Block a user