|
@ -7,14 +7,15 @@ import org.jfw.apt.orm.core.defaultImpl.WIntHandler;
|
7
|
7
|
|
8
|
8
|
import com.ekexiu.portal.po.AuthApply;
|
9
|
9
|
|
10
|
|
@ExtendView(fromSentence="auth_apply a INNER JOIN professor p on a.professor_id = p.id INNER JOIN organization o on p.org_id = o.id",tableAlias="a")
|
|
10
|
@ExtendView(fromSentence="auth_apply a INNER JOIN professor p on a.professor_id = p.id LEFT JOIN organization o on p.org_id = o.id",tableAlias="a")
|
11
|
11
|
public class AuthApplyInfo extends AuthApply {
|
12
|
12
|
//p.name,o.name orgName,p.office,p.title,p.authentication
|
13
|
13
|
private String name;
|
14
|
14
|
private String orgName;
|
15
|
15
|
private String office;
|
16
|
16
|
private String title;
|
17
|
|
private Integer authentication;
|
|
17
|
private Integer authType;
|
|
18
|
private Integer authStatus;
|
18
|
19
|
private String department;
|
19
|
20
|
|
20
|
21
|
@CalcColumn(handlerClass=StringHandler.class,column="p.department")
|
|
@ -52,13 +53,19 @@ public class AuthApplyInfo extends AuthApply {
|
52
|
53
|
public void setTitle(String title) {
|
53
|
54
|
this.title = title;
|
54
|
55
|
}
|
55
|
|
@CalcColumn(handlerClass=WIntHandler.class,column="p.authentication")
|
56
|
|
public Integer getAuthentication() {
|
57
|
|
return authentication;
|
|
56
|
@CalcColumn(handlerClass=WIntHandler.class,column="p.auth_type")
|
|
57
|
public Integer getAuthType() {
|
|
58
|
return authType;
|
58
|
59
|
}
|
59
|
|
public void setAuthentication(Integer authentication) {
|
60
|
|
this.authentication = authentication;
|
|
60
|
public void setAuthType(Integer authType) {
|
|
61
|
this.authType = authType;
|
|
62
|
}
|
|
63
|
@CalcColumn(handlerClass=WIntHandler.class,column="p.auth_status")
|
|
64
|
public Integer getAuthStatus() {
|
|
65
|
return authStatus;
|
|
66
|
}
|
|
67
|
public void setAuthStatus(Integer authStatus) {
|
|
68
|
this.authStatus = authStatus;
|
61
|
69
|
}
|
62
|
|
|
63
|
70
|
|
64
|
71
|
}
|