package com.fastbee.iot.service; import java.util.List; import com.fastbee.iot.domain.SocialPlatform; /** * 第三方登录平台控制Service接口 * * @author json * @date 2022-04-12 */ public interface ISocialPlatformService { /** * 查询第三方登录平台控制 * * @param socialPlatformId 第三方登录平台控制主键 * @return 第三方登录平台控制 */ public SocialPlatform selectSocialPlatformBySocialPlatformId(Long socialPlatformId); /** * 查询第三方登录平台控制 * * @param platform 第三方登录平台名称 * @return 第三方登录平台控制 */ public SocialPlatform selectSocialPlatformByPlatform(String platform); /** * 查询第三方登录平台控制列表 * * @param socialPlatform 第三方登录平台控制 * @return 第三方登录平台控制集合 */ public List selectSocialPlatformList(SocialPlatform socialPlatform); /** * 新增第三方登录平台控制 * * @param socialPlatform 第三方登录平台控制 * @return 结果 */ public int insertSocialPlatform(SocialPlatform socialPlatform); /** * 修改第三方登录平台控制 * * @param socialPlatform 第三方登录平台控制 * @return 结果 */ public int updateSocialPlatform(SocialPlatform socialPlatform); /** * 批量删除第三方登录平台控制 * * @param socialPlatformIds 需要删除的第三方登录平台控制主键集合 * @return 结果 */ public int deleteSocialPlatformBySocialPlatformIds(Long[] socialPlatformIds); /** * 删除第三方登录平台控制信息 * * @param socialPlatformId 第三方登录平台控制主键 * @return 结果 */ public int deleteSocialPlatformBySocialPlatformId(Long socialPlatformId); }