|
@ -2,6 +2,7 @@ package com.ekexiu.console.system.dao;
|
2
|
2
|
|
3
|
3
|
import com.ekexiu.console.system.po.UserInfo;
|
4
|
4
|
import org.jfw.apt.annotation.Nullable;
|
|
5
|
import org.jfw.apt.orm.annotation.dao.Column;
|
5
|
6
|
import org.jfw.apt.orm.annotation.dao.DAO;
|
6
|
7
|
import org.jfw.apt.orm.annotation.dao.method.From;
|
7
|
8
|
import org.jfw.apt.orm.annotation.dao.method.Or;
|
|
@ -12,6 +13,7 @@ import org.jfw.apt.orm.annotation.dao.param.Alias;
|
12
|
13
|
import org.jfw.apt.orm.annotation.dao.param.GtEq;
|
13
|
14
|
import org.jfw.apt.orm.annotation.dao.param.Like;
|
14
|
15
|
import org.jfw.apt.orm.annotation.dao.param.LtEq;
|
|
16
|
import org.jfw.apt.orm.core.defaultImpl.StringHandler;
|
15
|
17
|
import org.jfw.util.PageQueryResult;
|
16
|
18
|
|
17
|
19
|
import java.sql.Connection;
|
|
@ -44,7 +46,7 @@ public interface UserInfoDao {
|
44
|
46
|
@PageQuery
|
45
|
47
|
@OrderBy(" ORDER BY create_time DESC")
|
46
|
48
|
@Where("state<>'1'")
|
47
|
|
PageQueryResult<UserInfo> queryAll(Connection con, @Nullable @Like String creatorName,@Nullable @Like Stringname, @Nullable @Like String orgName, @Nullable String state, @Nullable @GtEq @Alias("createTime") String bt, @Nullable @Alias("createTime") @LtEq String et, int pageSize, int pageNo) throws SQLException;
|
|
49
|
PageQueryResult<UserInfo> queryAll(Connection con, @Nullable @Like String creatorName,@Nullable @Like String name, @Nullable @Like String orgName, @Nullable String state, @Nullable @GtEq @Alias("createTime") String bt, @Nullable @Alias("createTime") @LtEq String et, int pageSize, int pageNo) throws SQLException;
|
48
|
50
|
|
49
|
51
|
@Or
|
50
|
52
|
@Nullable
|