瀚高 highgo db适配支持
瀚高db适配支持
This commit is contained in:
@@ -67,7 +67,7 @@ public class Groups extends JpaBaseEntity implements Serializable {
|
||||
@Column
|
||||
String modifiedDate;
|
||||
@Column
|
||||
String status;
|
||||
int status;
|
||||
|
||||
public Groups() {
|
||||
}
|
||||
@@ -153,11 +153,11 @@ public class Groups extends JpaBaseEntity implements Serializable {
|
||||
this.modifiedDate = modifiedDate;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
public int getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
public void setStatus(int status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
|
||||
@@ -78,13 +78,13 @@ public class Organizations extends JpaBaseEntity implements Serializable {
|
||||
@Column
|
||||
private String email;
|
||||
@Column
|
||||
private String sortIndex;
|
||||
private long sortIndex;
|
||||
@Column
|
||||
private String ldapDn;
|
||||
@Column
|
||||
private String description;
|
||||
|
||||
private String status;
|
||||
private int status;
|
||||
@Column
|
||||
private String extId;
|
||||
@Column
|
||||
@@ -256,14 +256,6 @@ public class Organizations extends JpaBaseEntity implements Serializable {
|
||||
this.email = email;
|
||||
}
|
||||
|
||||
public String getSortOrder() {
|
||||
return sortOrder;
|
||||
}
|
||||
|
||||
public void setSortOrder(String sortOrder) {
|
||||
this.sortOrder = sortOrder;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
@@ -288,11 +280,11 @@ public class Organizations extends JpaBaseEntity implements Serializable {
|
||||
this.namePath = namePath;
|
||||
}
|
||||
|
||||
public String getSortIndex() {
|
||||
public long getSortIndex() {
|
||||
return sortIndex;
|
||||
}
|
||||
|
||||
public void setSortIndex(String sortIndex) {
|
||||
public void setSortIndex(long sortIndex) {
|
||||
this.sortIndex = sortIndex;
|
||||
}
|
||||
|
||||
@@ -306,11 +298,11 @@ public class Organizations extends JpaBaseEntity implements Serializable {
|
||||
this.ldapDn = ldapDn;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
public int getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
public void setStatus(int status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ public class LoginService {
|
||||
private static final String LOGOUT_USERINFO_UPDATE_STATEMENT = "update mxk_userinfo set lastlogofftime = ? , online = "
|
||||
+ UserInfo.ONLINE.OFFLINE + " where id = ?";
|
||||
|
||||
private static final String GROUPS_SELECT_STATEMENT = "select distinct g.id,g.name from mxk_userinfo u,`mxk_groups` g,mxk_group_member gm where u.id = ? and u.id=gm.memberid and gm.groupid=g.id ";
|
||||
private static final String GROUPS_SELECT_STATEMENT = "select distinct g.id,g.name from mxk_userinfo u,mxk_groups g,mxk_group_member gm where u.id = ? and u.id=gm.memberid and gm.groupid=g.id ";
|
||||
|
||||
private static final String DEFAULT_USERINFO_SELECT_STATEMENT = "select * from mxk_userinfo where username = ?";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user