mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-07 01:18:27 +08:00
社交登录查询关联账号查询新增租户标识查询
This commit is contained in:
parent
46f42c6d29
commit
0e89ef0568
@ -37,7 +37,7 @@ public class JdbcSocialsAssociateService implements SocialsAssociateService{
|
|||||||
|
|
||||||
private static final String DEFAULT_DEFAULT_INSERT_STATEMENT_ORACLE = "insert into mxk_socials_associate(id, userid , username , provider , socialuserid , accesstoken , socialuserinfo , exattribute , instid)values( ? , ? , ? , ? , ?, ? , ? , ?, ?)";
|
private static final String DEFAULT_DEFAULT_INSERT_STATEMENT_ORACLE = "insert into mxk_socials_associate(id, userid , username , provider , socialuserid , accesstoken , socialuserinfo , exattribute , instid)values( ? , ? , ? , ? , ?, ? , ? , ?, ?)";
|
||||||
|
|
||||||
private static final String DEFAULT_DEFAULT_SIGNON_SELECT_STATEMENT = "select id, userid , username , provider , socialuserid , accesstoken , socialuserinfo , exattribute , createddate , updateddate , instid from mxk_socials_associate where provider = ? and socialuserid = ?";
|
private static final String DEFAULT_DEFAULT_SIGNON_SELECT_STATEMENT = "select id, userid , username , provider , socialuserid , accesstoken , socialuserinfo , exattribute , createddate , updateddate , instid from mxk_socials_associate where provider = ? and socialuserid = ? and instId = ?";
|
||||||
|
|
||||||
private static final String DEFAULT_DEFAULT_BIND_SELECT_STATEMENT = "select id, userid , username , provider , socialuserid , accesstoken , socialuserinfo , exattribute , createddate , updateddate , instid from mxk_socials_associate where userid = ?" ;
|
private static final String DEFAULT_DEFAULT_BIND_SELECT_STATEMENT = "select id, userid , username , provider , socialuserid , accesstoken , socialuserinfo , exattribute , createddate , updateddate , instid from mxk_socials_associate where userid = ?" ;
|
||||||
|
|
||||||
@ -93,7 +93,8 @@ public class JdbcSocialsAssociateService implements SocialsAssociateService{
|
|||||||
DEFAULT_DEFAULT_SIGNON_SELECT_STATEMENT,
|
DEFAULT_DEFAULT_SIGNON_SELECT_STATEMENT,
|
||||||
new SocialsAssociateRowMapper(),
|
new SocialsAssociateRowMapper(),
|
||||||
socialsAssociate.getProvider(),
|
socialsAssociate.getProvider(),
|
||||||
socialsAssociate.getSocialUserId());
|
socialsAssociate.getSocialUserId(),
|
||||||
|
socialsAssociate.getInstId());
|
||||||
_logger.debug("list socialsAssociate "+listsocialsAssociate);
|
_logger.debug("list socialsAssociate "+listsocialsAssociate);
|
||||||
return (listsocialsAssociate.size()>0)?listsocialsAssociate.get(0):null;
|
return (listsocialsAssociate.size()>0)?listsocialsAssociate.get(0):null;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user