提交,文件夹状态下点击,右侧显示文件夹下的最新文档
This commit is contained in:
@@ -18,4 +18,5 @@ public class SearchByEsParam {
|
|||||||
private Integer pageSize;
|
private Integer pageSize;
|
||||||
private Integer newsType;
|
private Integer newsType;
|
||||||
private List<Long> spaceIds;
|
private List<Long> spaceIds;
|
||||||
|
private Long dirId;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,6 +14,11 @@
|
|||||||
a.name like #{keywords} or b.preview like #{keywords}
|
a.name like #{keywords} or b.preview like #{keywords}
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
|
<if test="dirId != null and dirId != ''">
|
||||||
|
and (
|
||||||
|
a.parent_id = #{dirId}
|
||||||
|
)
|
||||||
|
</if>
|
||||||
<if test="spaceIds != null and spaceIds.size > 0">
|
<if test="spaceIds != null and spaceIds.size > 0">
|
||||||
and a.space_id in
|
and a.space_id in
|
||||||
<foreach collection="spaceIds" open="(" close=")" item="item" separator=",">#{item}</foreach>
|
<foreach collection="spaceIds" open="(" close=")" item="item" separator=",">#{item}</foreach>
|
||||||
|
|||||||
Reference in New Issue
Block a user