dao->select('*')->from(TABLE_USER) ->beginIF(validater::checkEmail($account))->where('email')->eq($account)->fi() ->beginIF(!validater::checkEmail($account))->where('account')->eq($account)->fi() ->andWhere('deleted')->eq('0') ->fetch(); }