提交 dbd4c5ff authored 作者: renjiancai's avatar renjiancai

--no commit message

上级 ae044a0d
......@@ -55,11 +55,15 @@ public class WapBookServiceImpl extends BaseServiceImpl<Book, String> implements
public List<FgArticleLibraryListVO> pageBook(FgQueryArticleLibraryForm form,PageParam pageParam) {
startPage(pageParam);
List<FgArticleLibraryListVO> list = bookMapper.pageBook(form);
for (FgArticleLibraryListVO vo : list) {
YearLibrary library = fgYearLibraryMapper.selectByPrimaryKey(vo.getYearId());
vo.setName("《"+vo.getMainBody()+"》"+library.getName()+"年第"+vo.getPeriods()+"期");
if(list.size()>0) {
for (FgArticleLibraryListVO vo : list) {
YearLibrary library = fgYearLibraryMapper.selectByPrimaryKey(vo.getYearId());
if(library!=null) {
vo.setMainBody(library.getName()+"年第"+vo.getPeriods()+"期");
}
}
this.regEx1(list);
}
this.regEx1(list);
return list;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论