|
|
@@ -319,10 +319,10 @@ public class users extends Controller {
|
|
|
return getErrReturnObject().setErrMsg("请输入正确的手机号").toString();
|
|
|
}
|
|
|
|
|
|
- Rows rows = dbConnect.runSqlQuery("select * from sa_customers where sa_agentsid!=0 and siteid='"+siteid+"' and phonenumber='"+phonenumber+"'");
|
|
|
- if(rows.isEmpty()){
|
|
|
- return getSucReturnObject().setData(false).toString();
|
|
|
- }
|
|
|
+// Rows rows = dbConnect.runSqlQuery("select * from sa_customers where sa_agentsid!=0 and siteid='"+siteid+"' and phonenumber='"+phonenumber+"'");
|
|
|
+// if(rows.isEmpty()){
|
|
|
+// return getSucReturnObject().setData(false).toString();
|
|
|
+// }
|
|
|
|
|
|
|
|
|
if (dbConnect.runSqlQuery("select *from sys_users where phonenumber='" + phonenumber + "' and userid!='" + userid + "'").isNotEmpty()) {
|