添加酒店信息的基本操作

This commit is contained in:
freeebird
2018-10-24 18:48:21 +08:00
parent 79971cc62c
commit c7cac3cbe1
9 changed files with 213 additions and 155 deletions

View File

@@ -1,17 +1,20 @@
package cn.mafangui.hotel.mapper;
import cn.mafangui.hotel.entity.Hotel;
import org.springframework.stereotype.Component;
import java.util.List;
@Component
public interface HotelMapper {
int deleteByPrimaryKey(Integer hotelId);
int insert(Hotel record);
int insertSelective(Hotel record);
Hotel selectByPrimaryKey(Integer hotelId);
int updateByPrimaryKeySelective(Hotel record);
int updateByPrimaryKey(Hotel record);
int insert(Hotel record);
int insertSelective(Hotel record);
int updateByPrimaryKeySelective(Hotel record);
Hotel selectByPrimaryKey(Integer hotelId);
Hotel selectByName(String hotelName);
List<Hotel> selectAll();
}