XMTT преди 6 години
родител
ревизия
916e8dce25
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      src/main/java/com/ekexiu/portal/dao/DemandDao.java

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

@ -109,7 +109,8 @@ public abstract class DemandDao {
109 109

110 110
	@PageSelect
111 111
	@OrderBy(" ORDER BY STATE ASC,CREATE_TIME DESC")
112
	public abstract PageQueryResult<Demand> pageQueryOrg(Connection con,@Nullable @In String[] state,@GroupSqlColumn(value={"ORG_NAME = ?","CREATOR IN (SELECT ID FROM PROFESSOR WHERE ORG_AUTH = '1')"},handlerClass = StringHandler.class,force = false) String orgName,int pageSize,int pageNo) throws SQLException;
112
	@Where("CREATOR IN (SELECT ID FROM PROFESSOR WHERE ORG_AUTH = '1')")
113
	public abstract PageQueryResult<Demand> pageQueryOrg(Connection con,@Nullable @In String[] state,String orgName,int pageSize,int pageNo) throws SQLException;
113 114

114 115
	@PageSelect
115 116
	@OrderBy(" ORDER BY CREATE_TIME DESC")