Commit 7d1b7c1e by 阳浪

门户搜素接口

parent ed22fa00
...@@ -67,6 +67,9 @@ public class DataClassificationVo { ...@@ -67,6 +67,9 @@ public class DataClassificationVo {
@ApiModelProperty(value = "子新闻分类") @ApiModelProperty(value = "子新闻分类")
private List<DataClassificationVo> childClassifyNews; private List<DataClassificationVo> childClassifyNews;
@ApiModelProperty(value = "咨询文章信息")
private List<InformationVo> informationVoList;
protected Serializable pkVal() { protected Serializable pkVal() {
return this.id; return this.id;
} }
......
...@@ -23,6 +23,12 @@ public class InfomationParamReleaseVO extends ContextVO { ...@@ -23,6 +23,12 @@ public class InfomationParamReleaseVO extends ContextVO {
@ApiModelProperty(value="类型") @ApiModelProperty(value="类型")
private Long typeId; private Long typeId;
@ApiModelProperty(value="类型2")
private Long typeTwoId;
@ApiModelProperty(value="类型2")
private Long typeThreeId;
@ApiModelProperty(value = "自定义关键字") @ApiModelProperty(value = "自定义关键字")
private String keyWords; private String keyWords;
......
...@@ -153,12 +153,6 @@ public class DataClassificationServiceImpl extends ServiceImpl<DataClassificatio ...@@ -153,12 +153,6 @@ public class DataClassificationServiceImpl extends ServiceImpl<DataClassificatio
vo.setData(selectVoByMap); 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; return list;
} }
......
...@@ -52,6 +52,12 @@ ...@@ -52,6 +52,12 @@
<if test="end != null"> <if test="end != null">
and #{end} >= a.release_time and #{end} >= a.release_time
</if> </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"> <if test="null != state">
and a.state = #{state} and a.state = #{state}
</if> </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