|
@@ -91,6 +91,7 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleMapper, Article,
|
|
|
types.add(ArticleTypeEnum.XXJX.getValue());
|
|
|
types.add(ArticleTypeEnum.HYZX.getValue());
|
|
|
types.add(ArticleTypeEnum.CGAL.getValue());
|
|
|
+ types.add(ArticleTypeEnum.CYXZ.getValue());
|
|
|
record.setTypes(types);
|
|
|
List<Article> list = mapper.selectArticleFrontInfo(record);
|
|
|
ArticleVO vo = new ArticleVO();
|
|
@@ -101,6 +102,7 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleMapper, Article,
|
|
|
List<Article> list5 = new ArrayList<Article>();
|
|
|
List<Article> list6 = new ArrayList<Article>();
|
|
|
List<Article> list7 = new ArrayList<Article>();
|
|
|
+ List<Article> list8 = new ArrayList<Article>();
|
|
|
list.forEach(item->{
|
|
|
if(ArticleTypeEnum.JJFA.getValue().equals(item.getType())){
|
|
|
list1.add(item);
|
|
@@ -114,8 +116,10 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleMapper, Article,
|
|
|
list5.add(item);
|
|
|
}else if(ArticleTypeEnum.CGAL.getValue().equals(item.getType())){
|
|
|
list6.add(item);
|
|
|
- }else{
|
|
|
+ }else if(ArticleTypeEnum.XXZX.getValue().equals(item.getType())){
|
|
|
list7.add(item);
|
|
|
+ }else if(ArticleTypeEnum.CYXZ.getValue().equals(item.getType())){
|
|
|
+ list8.add(item);
|
|
|
}
|
|
|
});
|
|
|
vo.setList1(list1);
|
|
@@ -124,7 +128,8 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleMapper, Article,
|
|
|
vo.setList4(list4);
|
|
|
vo.setList5(list5);
|
|
|
vo.setList6(list6);
|
|
|
- vo.setList6(list7);
|
|
|
+ vo.setList7(list7);
|
|
|
+ vo.setList8(list8);
|
|
|
return vo;
|
|
|
}
|
|
|
|