XMTT 5 years ago
parent
commit
b00f4774ec
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/java/com/ekexiu/portal/team/TeamDao.java

+ 2 - 1
src/main/java/com/ekexiu/portal/team/TeamDao.java

@ -18,6 +18,7 @@ import org.jfw.apt.orm.annotation.dao.method.operator.SelectList;
18 18
import org.jfw.apt.orm.annotation.dao.method.operator.SelectOne;
19 19
import org.jfw.apt.orm.annotation.dao.method.operator.Update;
20 20
import org.jfw.apt.orm.annotation.dao.method.operator.UpdateWith;
21
import org.jfw.apt.orm.annotation.dao.param.GroupSqlColumn;
21 22
import org.jfw.apt.orm.annotation.dao.param.In;
22 23
import org.jfw.apt.orm.annotation.dao.param.Like;
23 24
import org.jfw.apt.orm.annotation.dao.param.Set;
@ -72,7 +73,7 @@ public interface TeamDao {
72 73
73 74
    @PageSelect
74 75
    @OrderBy("ORDER BY CREATE_TIME DESC")
75
    PageQueryResult<Team> pageQuery(Connection con, String status, @Nullable @SqlColumn(handlerClass = StringHandler.class, value = {"name like ?", "org_name like ?", "subject like ?", "industry like ?"}) String key, @Nullable @Like String subject, @Nullable @Like String industry, @Nullable String city, int pageSize, int pageNo) throws SQLException;
76
    PageQueryResult<Team> pageQuery(Connection con, String status, @Nullable @GroupSqlColumn(handlerClass = StringHandler.class, value = {"name like ?", "org_name like ?", "subject like ?", "industry like ?"},isAnd = false) String key, @Nullable @Like String subject, @Nullable @Like String industry, @Nullable String city, int pageSize, int pageNo) throws SQLException;
76 77
77 78
    @PageQuery
78 79
    @OrderBy("ORDER BY SECRETARY DESC NULLS LAST, CREATE_TIME DESC")