mirror of
https://github.com/FreeeBird/hotel.git
synced 2025-11-02 21:44:50 +08:00
1.添加对房间信息的简单操作
2.新增时间格式化的工具类
This commit is contained in:
@@ -1,17 +1,25 @@
|
||||
package cn.mafangui.hotel.mapper;
|
||||
|
||||
import cn.mafangui.hotel.entity.Room;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Component
|
||||
public interface RoomMapper {
|
||||
int deleteByPrimaryKey(Integer roomId);
|
||||
|
||||
int insert(Room record);
|
||||
|
||||
int insertSelective(Room record);
|
||||
|
||||
Room selectByPrimaryKey(Integer roomId);
|
||||
|
||||
int updateByPrimaryKeySelective(Room record);
|
||||
|
||||
int updateByPrimaryKey(Room record);
|
||||
|
||||
int insert(Room record);
|
||||
int deleteByPrimaryKey(Integer roomId);
|
||||
int deleteByRoomNumber(String roomNumber);
|
||||
int updateByPrimaryKeySelective(Room record);
|
||||
Room selectByRoomId(Integer roomId);
|
||||
Room selectByRoomNumber(String roomNumber);
|
||||
List<Room> selectAllRoom();
|
||||
List<Room> selectByType(String typeName);
|
||||
List<Room> selectByStatus(String status);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user