Commit 7d1b7c1e by 阳浪

门户搜素接口

parent ed22fa00
......@@ -67,6 +67,9 @@ public class DataClassificationVo {
@ApiModelProperty(value = "子新闻分类")
private List<DataClassificationVo> childClassifyNews;
@ApiModelProperty(value = "咨询文章信息")
private List<InformationVo> informationVoList;
protected Serializable pkVal() {
return this.id;
}
......
......@@ -22,6 +22,12 @@ public class InfomationParamReleaseVO extends ContextVO {
@ApiModelProperty(value="类型")
private Long typeId;
@ApiModelProperty(value="类型2")
private Long typeTwoId;
@ApiModelProperty(value="类型2")
private Long typeThreeId;
@ApiModelProperty(value = "自定义关键字")
private String keyWords;
......
......@@ -153,12 +153,6 @@ public class DataClassificationServiceImpl extends ServiceImpl<DataClassificatio
vo.setData(selectVoByMap);
}
}
// 名称检索
if(CollectionUtil.isNotEmpty(list)){
if(ObjectUtils.isNotEmpty(siteComponyIdVO.getBannerName())){
list = list.stream().filter(a->ObjectUtils.isNotEmpty(a.getName())&&a.getName().indexOf(siteComponyIdVO.getBannerName())>=0).collect(Collectors.toList());
}
}
return list;
}
......
......@@ -52,6 +52,12 @@
<if test="end != null">
and #{end} >= a.release_time
</if>
<if test="null != typeTwoId">
and a.type_two = #{typeTwoId}
</if>
<if test="null != typeThreeId">
and a.type_three = #{typeThreeId}
</if>
<if test="null != state">
and a.state = #{state}
</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment