|
@ -9,15 +9,18 @@ import org.jfw.apt.orm.annotation.dao.Column;
|
9
|
9
|
import org.jfw.apt.orm.annotation.dao.DAO;
|
10
|
10
|
import org.jfw.apt.orm.annotation.dao.method.From;
|
11
|
11
|
import org.jfw.apt.orm.annotation.dao.method.Or;
|
|
12
|
import org.jfw.apt.orm.annotation.dao.method.OrderBy;
|
12
|
13
|
import org.jfw.apt.orm.annotation.dao.method.Where;
|
13
|
14
|
import org.jfw.apt.orm.annotation.dao.method.operator.DeleteWith;
|
14
|
15
|
import org.jfw.apt.orm.annotation.dao.method.operator.Insert;
|
|
16
|
import org.jfw.apt.orm.annotation.dao.method.operator.PageSelect;
|
15
|
17
|
import org.jfw.apt.orm.annotation.dao.method.operator.QueryVal;
|
16
|
18
|
import org.jfw.apt.orm.annotation.dao.method.operator.SelectOne;
|
17
|
19
|
import org.jfw.apt.orm.annotation.dao.method.operator.UpdateWith;
|
18
|
20
|
import org.jfw.apt.orm.annotation.dao.param.Alias;
|
19
|
21
|
import org.jfw.apt.orm.annotation.dao.param.Set;
|
20
|
22
|
import org.jfw.apt.orm.core.defaultImpl.IntHandler;
|
|
23
|
import org.jfw.util.PageQueryResult;
|
21
|
24
|
|
22
|
25
|
import com.ekexiu.portal.po.User;
|
23
|
26
|
|
|
@ -94,4 +97,13 @@ public interface UserDao {
|
94
|
97
|
@DefaultValue("0")
|
95
|
98
|
@Where("PASSWD<>'11111111111111111111111111111111'")
|
96
|
99
|
int countActived(Connection con)throws SQLException;
|
|
100
|
|
|
101
|
/*
|
|
102
|
* 查询所有未激活用户
|
|
103
|
*/
|
|
104
|
@PageSelect
|
|
105
|
@Where("PASSWD='11111111111111111111111111111111'")
|
|
106
|
@OrderBy("ORDER BY CREATE_TIME")
|
|
107
|
PageQueryResult<User> pageQuery(Connection con,int pageSize,int pageNo)throws SQLException;
|
|
108
|
|
97
|
109
|
}
|