@ -45,13 +45,6 @@ public interface AuthorizationInfoDao extends BaseDao<AuthorizationInfoEntity> {
*/
void insertAuthorizationInfo(AuthorizationInfoFormDTO formDTO);
/**
* @Description 逻辑删除授权信息
* @param customerId
* @author zxc
// void updateOldAuthorizationInfo(@Param("customerId")String customerId);
* 根据客户ID,客户端类型获取授权信息
* @author zhaoqifeng
@ -25,7 +25,7 @@
<!-- 逻辑删除授权信息 -->
<update id="updateOldAuthorizationInfo">
update authorization_info set del_flag = 1 where customer_id = #{customerId} AND client_type = #{clientType}
update authorization_info set del_flag = 1 where authorizer_appid = #{authAppId}
</update>
<!-- 询即将过期的 authorizer_access_token -->