package com.zhiqiyun.open.core.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhiqiyun.open.core.models.user.UserLoginAccount;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author Administrator
 * @date 2017-6-7
 */
@Mapper
public interface UserLoginAccountMapper extends BaseMapper<UserLoginAccount> {

    /**
     * 插入账号信息
     *
     * @param loginAccount
     */
    void insertOrUpdate(UserLoginAccount loginAccount);

    /**
     * 删除用户账号
     *
     * @param uid
     */
    void deleteByUid(@Param("uid") Long uid);
}
