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