public interface CuisineMapper {
int insert(Cuisine record);
int insertSelective(Cuisine record);
}
注意:返回的是操作的成功条数
<insert id="insertSelective" parameterType="com.freshidentification.backstage.pojo.Cuisine" useGeneratedKeys="true" keyProperty="id">
insert into cuisine
<trim prefix="(" suffix=")" suffixOverrides=",">
<if t