public void testModelX3(){ Users usersModel = new Users(); renderJson( usersModel.setSelectColumns("users.uid,users_log.ip").where("username","admin").where("modifytime","").where("cellphone","18871230299","or").innerJoin("users_log","users_log.uid = users.uid").findFirst() ); }
增加了字段选择,where的or条件,内连接,左连接