提交 97cf9c07 authored 作者: chaoyanjun's avatar chaoyanjun

--no commit message

上级 c66a8e96
......@@ -139,14 +139,14 @@ public interface FgArticleLibraryMapper extends BaseMapper<ArticleLibrary> {
@Select("<script>" +
" select * from res_Article_Library where 1=1 " +
"and id not in "
+ "<if test='form != null and form.size > 0' >"
+ "<foreach collection=\"form.id\" index=\"index\" item=\"id\" open=\"(\" separator=\",\" close=\")\">"
+ "<if test='ids != null and ids.size > 0' >"
+ "<foreach collection=\"ids\" index=\"index\" item=\"id\" open=\"(\" separator=\",\" close=\")\">"
+ " #{id} "
+ "</foreach>"
+ "</if>" +
" order by createTime desc limit #{num}" +
" order by uploadTime desc limit #{num}" +
"</script>")
List<ArticleLibrary> selectBYFinish(@Param("form") List<ArticleLibrary> voList,@Param("num") Integer num);
List<ArticleLibrary> selectBYFinish(@Param("ids") List<String> ids,@Param("num") Integer num);
@Select("<script>"
+ "select distinct a.id,a.title,a.authorId,a.author,a.source,a.keywords,a.synopsis,a.bookId,"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论