|
|
@@ -841,7 +841,7 @@ public class WebClientRest {
|
|
|
}else if(from_account.equals("2")){//鬼넋埼되쩌
|
|
|
DBConnect connect = new DBConnect();
|
|
|
Rows rows = connect.runSqlQuery("select t.fagentnum,t.workphone,t.siteid,t.role,t.password from worker t " +
|
|
|
- "where fisused=1 and workphone='" + username + "' and t.role='륩蛟莉낀'");
|
|
|
+ "where fisused=1 and workphone='" + username + "' and t.role in ('륩蛟莉낀','駱澗莉낀')");
|
|
|
if(!rows.isEmpty()){
|
|
|
String realpassword = rows.get(0).getString("password");
|
|
|
if(!realpassword.equals(password)){
|