XMTT 5 years ago
parent
commit
44d323646b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/ekexiu/portal/dao/ProfessorDao.java

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

@ -1423,7 +1423,7 @@ public abstract class ProfessorDao {
1423 1423
	public abstract List<SortedPro> teamSearch(Connection con,
1424 1424
												@SqlColumn(handlerClass = StringHandler.class, value = {"(case when sort_first=0 then '00000' else TO_CHAR(sort_first,'00009') end || TO_CHAR(CEIL(star_level * 100),'0009') || p.id )< ? "}) String sortDesc, @Nullable @GroupSqlColumn(value = {
1425 1425
			"P.NAME LIKE ?", "O.NAME LIKE ?", "P.DEPARTMENT LIKE ?", "P.DESCP LIKE ?", "P.SUBJECT LIKE ?", "P.INDUSTRY LIKE ?", "P.ID IN (SELECT DISTINCT PROFESSOR_ID FROM RESEARCH_AREA WHERE CAPTION LIKE ?)", "P.ID IN (SELECT DISTINCT PROFESSOR_ID FROM RESOURCE WHERE RESOURCE_NAME LIKE ?)", "P.ID IN (SELECT DISTINCT OWNER_ID FROM ARTICLE WHERE ARTICLE_TYPE='1' AND ARTICLE_TITLE LIKE ?)", "P.ID IN (SELECT DISTINCT PROFESSOR_ID FROM PAPER_AUTHOR WHERE PAPER_ID IN (SELECT ID FROM PPAPER WHERE NAME LIKE ?))", "P.ID IN (SELECT DISTINCT PROFESSOR_ID FROM PATENT_AUTHOR WHERE PATENT_ID IN (SELECT ID FROM PPATENT WHERE NAME LIKE ?))"
1426
	}, handlerClass = StringHandler.class, isAnd = false) String key,@Nullable @SqlColumn(handlerClass = StringHandler.class,value = "ID NOT IN (SELECT PROFESSOR FROM TEAM_PRO WHERE ID = ?)") String team, @Nullable Integer authType, int rows) throws SQLException;
1426
	}, handlerClass = StringHandler.class, isAnd = false) String key,@Nullable @SqlColumn(handlerClass = StringHandler.class,value = "P.ID NOT IN (SELECT PROFESSOR FROM TEAM_PRO WHERE ID = ?)") String team, @Nullable Integer authType, int rows) throws SQLException;
1427 1427

1428 1428

1429 1429
	/**