XMTT 6 years ago
parent
commit
e405371fb2
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/main/java/com/ekexiu/portal/dao/ArticleDao.java

+ 1 - 2
src/main/java/com/ekexiu/portal/dao/ArticleDao.java

@ -190,8 +190,7 @@ public abstract class ArticleDao {
190 190
	@OrderBy(cols = { @LimitColumn(value = "publishTime", column = "PUBLISH_TIME", handlerClass = StringHandler.class, asc = false),
191 191
			@LimitColumn(value = "articleId", column = "ARTICLE_ID", asc = false, handlerClass = StringHandler.class) }, value = "")
192 192
	@Exclude({ "descp" })
193
	public abstract List<Article> queryPublish(Connection con,String ownerId, String publishTime, String articleId,
194
											  @SqlColumn(handlerClass = StringHandler.class, value = { "STATUS=?" }) String articleType,@Nullable @In String[] status,@Nullable @GroupSqlColumn(handlerClass = StringHandler.class, value = { "OWNER_ID IN (SELECT ID FROM PROFESSOR WHERE NAME LIKE ?)",
193
	public abstract List<Article> queryPublish(Connection con,String ownerId, String publishTime, String articleId, String articleType,@Nullable @In String[] status,@Nullable @GroupSqlColumn(handlerClass = StringHandler.class, value = { "OWNER_ID IN (SELECT ID FROM PROFESSOR WHERE NAME LIKE ?)",
195 194
			"OWNER_ID IN (SELECT ID FROM ORGANIZATION WHERE NAME LIKE ? OR FOR_SHORT LIKE ?)", "ARTICLE_TITLE LIKE ?",
196 195
			"SUBJECT LIKE ?" }, additional = 1, isAnd = false) String key,
197 196
											  int rows) throws SQLException;