一.mybatis的增删改查 1.修改hotelMapper接口 package com.pjf.mybatis.dao; import com.pjf.mybatis.po.Hotel; public interface HotelMapper { public Hotel getHotel(Integer i); public void updateHotel(Hotel hotel); public void insertHotel(Hotel hotel); public void de…