package com.github.wxiaoqi.security.admin.mapper;


import com.github.wxiaoqi.security.admin.entity.AppUserPositionTemp;
import org.apache.ibatis.annotations.Insert;
import tk.mybatis.mapper.common.Mapper;

/**
 * 用户身份职位表
 * 
 * @author libin
 * @email 18178966185@163.com
 * @date 2019-07-09 10:00:42
 */
public interface AppUserPositionTempMapper extends Mapper<AppUserPositionTemp> {


    @Insert("INSERT IGNORE INTO `app_user_position_temp`(`user_id`,`phone`,`name`,`position_id`,`crt_time`)VALUES(#{userId},#{phone},#{name},#{positionId},#{crtTime})")
    void insertWithIgnoreRepeat(AppUserPositionTemp appUserPositionTemp);
}
