package com.cesgroup.mybatis.homework;

import org.apache.ibatis.annotations.Insert;
import org.springframework.stereotype.Repository;

/**
 * @author ytj
 * @date 2019/12/13 10:27
 */
@Repository
public interface PersonMapper {
    @Insert("insert into person ('id','name','address') values(#{id},#{name},#{address})")
    void insertPerson(Person person);

}
