diff --git a/WebContent/Logon.jsp b/WebContent/Logon.jsp index 5e7c73b00..a7cdda01f 100644 --- a/WebContent/Logon.jsp +++ b/WebContent/Logon.jsp @@ -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");