update
This commit is contained in:
+4
@@ -82,4 +82,8 @@ public class RecentBrowse implements Serializable {
|
||||
|
||||
@TableField(exist = false)
|
||||
private String cut;
|
||||
|
||||
// 法规月报专用
|
||||
@TableField(exist = false)
|
||||
private String fileId;
|
||||
}
|
||||
|
||||
+2
-1
@@ -201,12 +201,13 @@ public class RecentBrowseServiceImpl extends ServiceImpl<RecentBrowseMapper, Rec
|
||||
}
|
||||
} else if (StringUtils.equals(data.getBrowseType(), BrowseTypeEnum.FGYB.getValue())) {
|
||||
List<LawsMonthlyReportManageEO> lmrEos = lmrEoList.stream().filter(lmrEo -> {
|
||||
boolean flag = false;
|
||||
boolean flag = (StringUtils.equals(lmrEo.getId(), data.getBrowseDataId()));
|
||||
return flag;
|
||||
}).collect(Collectors.toList());
|
||||
if (CollectionUtils.isNotEmpty(lmrEos)) {
|
||||
LawsMonthlyReportManageEO lmrEo = lmrEos.get(0);
|
||||
titleSb.append(lmrEo.getName());
|
||||
data.setFileId(lmrEo.getFileId());
|
||||
}
|
||||
}
|
||||
data.setTitle(titleSb.toString());
|
||||
|
||||
Reference in New Issue
Block a user