feat(征求意见): 完善
This commit is contained in:
+5
@@ -84,6 +84,11 @@ public class ProcessFbConsultationList implements Serializable {
|
||||
@Excel(name = "依据材料", width = 15)
|
||||
@ApiModelProperty(value = "依据材料")
|
||||
private java.lang.String basisFile;
|
||||
/**依据材料名称*/
|
||||
@Excel(name = "依据材料名称", width = 15)
|
||||
@ApiModelProperty(value = "依据材料名称")
|
||||
@TableField(exist = false)
|
||||
private java.lang.String basisFileName;
|
||||
/**设计工程师名称*/
|
||||
@Excel(name = "设计工程师名称", width = 15)
|
||||
@ApiModelProperty(value = "设计工程师名称")
|
||||
|
||||
+7
@@ -104,6 +104,13 @@ public class ConsultationServiceImpl implements IConsultationService {
|
||||
if (!sysDeparts.isEmpty()){
|
||||
consultationList.setDepart(sysDeparts.stream().map(SysDepart::getDepartName).collect(Collectors.joining(",")));
|
||||
}
|
||||
|
||||
if (StringUtils.isNotBlank(consultationList.getBasisFile())){
|
||||
// 依据材料
|
||||
List<String> fileIds = Arrays.asList(consultationList.getBasisFile().split(","));
|
||||
List<OSSFile> fileList = ossFileService.list(new LambdaQueryWrapper<OSSFile>().in(OSSFile::getId, fileIds));
|
||||
consultationList.setBasisFileName(fileList.stream().map(OSSFile::getFileName).collect(Collectors.joining(",")));
|
||||
}
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user