mirror of
https://github.com/FreeeBird/hotel.git
synced 2025-11-02 21:44:50 +08:00
完成酒店信息接口编写
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
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);
|
||||
|
||||
@@ -11,7 +15,13 @@ public interface HotelMapper {
|
||||
|
||||
Hotel selectByPrimaryKey(Integer hotelId);
|
||||
|
||||
Hotel selectByName(String hotelName);
|
||||
|
||||
List<Hotel> selectAll();
|
||||
|
||||
int updateByPrimaryKeySelective(Hotel record);
|
||||
|
||||
int updateByPrimaryKey(Hotel record);
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user