package cn.reghao.tnb.sb.db.mybatis.test.mapper;

import cn.reghao.tnb.sb.db.mybatis.test.model.UserInfo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author reghao
 * @date 2021-04-19 22:22:11
 */
@Mapper
public interface UserInfoMapper {
    @Insert("insert into user_info (user_id,username,id,deleted,create_time,update_time) " +
            "values (#{userId},#{username},#{id},#{deleted},#{createTime},#{updateTime})")
    void save(UserInfo userInfo);
}
