|
@ -9,6 +9,7 @@ import org.jfw.apt.orm.annotation.dao.method.From;
|
9
|
9
|
import org.jfw.apt.orm.annotation.dao.method.operator.Insert;
|
10
|
10
|
import org.jfw.apt.orm.annotation.dao.method.operator.SelectOne;
|
11
|
11
|
import org.jfw.apt.orm.annotation.dao.method.operator.UpdateWith;
|
|
12
|
import org.jfw.apt.orm.annotation.dao.param.Alias;
|
12
|
13
|
import org.jfw.apt.orm.annotation.dao.param.Set;
|
13
|
14
|
|
14
|
15
|
import com.ekexiu.portal.po.OrgUser;
|
|
@ -18,10 +19,18 @@ public abstract class OrgUserDao {
|
18
|
19
|
@Insert
|
19
|
20
|
public abstract int insert(Connection con,OrgUser orgUser)throws SQLException;
|
20
|
21
|
|
|
22
|
@UpdateWith
|
|
23
|
@From(OrgUser.class)
|
|
24
|
public abstract int updateEmail(Connection con,String id,@Set String email)throws SQLException;
|
|
25
|
|
21
|
26
|
@UpdateWith
|
22
|
27
|
@From(OrgUser.class)
|
23
|
28
|
public abstract int updatePasswd(Connection con,String id,@Set String passwd)throws SQLException;
|
24
|
29
|
|
|
30
|
@UpdateWith
|
|
31
|
@From(OrgUser.class)
|
|
32
|
public abstract int updatePw(Connection con,String id,@Set String passwd,@Alias("passwd")String key)throws SQLException;
|
|
33
|
|
25
|
34
|
@SelectOne
|
26
|
35
|
@Nullable
|
27
|
36
|
public abstract OrgUser queryOne(Connection con,String id)throws SQLException;
|