mirror of
https://github.com/FreeeBird/hotel.git
synced 2025-05-06 19:49:26 +08:00
21 lines
453 B
Java
21 lines
453 B
Java
package cn.mafangui.hotel.service;
|
|
|
|
import cn.mafangui.hotel.entity.Room;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
public interface RoomService {
|
|
int insert(Room room);
|
|
int delete(int roomId);
|
|
int update(Room room);
|
|
Room selectById(int roomId);
|
|
List<Room> selectByStatus(int roomStatus);
|
|
List<Room> selectByType(int typeId);
|
|
List<Room> selectAll();
|
|
|
|
int orderRoom(int typeId);
|
|
int inRoom(int typeId);
|
|
int outRoom(int typeId);
|
|
}
|