jiapeng 7 years ago
parent
commit
69a65f6a3a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/main/java/com/ekexiu/portal/dao/ResearchAreaLogDao.java

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

@ -6,6 +6,7 @@ import java.util.List;
6 6
7 7
import org.jfw.apt.orm.annotation.dao.DAO;
8 8
import org.jfw.apt.orm.annotation.dao.method.From;
9
import org.jfw.apt.orm.annotation.dao.method.OrderBy;
9 10
import org.jfw.apt.orm.annotation.dao.method.Select;
10 11
import org.jfw.apt.orm.annotation.dao.method.operator.DeleteWith;
11 12
import org.jfw.apt.orm.annotation.dao.method.operator.Insert;
@ -36,7 +37,8 @@ public abstract class ResearchAreaLogDao {
36 37
	
37 38
	@LimitQuery
38 39
	@From(ResearchAreaLog.class)
39
	@Select(ResearchAreaLog.class)	
40
	@Select(ResearchAreaLog.class)
41
	@OrderBy ("ORDER BY CREATE_TIME DESC")
40 42
	public abstract List<EditResearchAreaLog> queryLimit(Connection con,String professorId,String caption,@LessThan String createTime,int rows) throws SQLException;
41 43
42 44
	@QueryList