@Override public Openid getOpenid(String type, Long open_id) { if (null == open_id || StringKit.isBlank(type)) { return null; } return AR.find("select * from t_openid where open_id = ? and type = ?", open_id, type) .first(Openid.class); }