You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
579 B
25 lines
579 B
package com.jiudian.manage.mapper;
|
|
|
|
import com.jiudian.manage.model.Room;
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
import java.util.List;
|
|
//MyBatis 的 Mapper 接口,用于定义与房间表相关的数据库操作
|
|
@Repository
|
|
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);
|
|
|
|
List<Room> selectRoomByStateType(Room stateType);
|
|
|
|
|
|
} |