单点登录
This commit is contained in:
parent
d43b38985b
commit
02656d41e1
@ -129,7 +129,7 @@ public boolean validUserPassword(HttpServletRequest request, Transaction Sqlca,S
|
||||
StringBuffer sql = new StringBuffer();
|
||||
sql.append("select count(1) num from user_list where userid='");
|
||||
sql.append(sUserID);
|
||||
sql.append("' and endtime is null group by userid");
|
||||
sql.append("' and (endtime is null or endtime = '') group by userid");
|
||||
String num = Sqlca.getString(new SqlObject(sql.toString()));
|
||||
if(null != num){
|
||||
throw new Exception("false");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user