update RoomType

This commit is contained in:
freeebird
2018-10-16 14:32:27 +08:00
parent 128de0cf17
commit 97e522a9f4
8 changed files with 215 additions and 36 deletions

View File

@@ -1,17 +1,21 @@
package cn.mafangui.hotel.mapper;
import cn.mafangui.hotel.entity.RoomType;
import org.springframework.stereotype.Component;
import java.util.List;
@Component
public interface RoomTypeMapper {
int deleteByPrimaryKey(Integer typeId);
int insert(RoomType record);
RoomType selectByPrimaryKey(Integer typeId);
int updateByPrimaryKeySelective(RoomType record);
int updateByPrimaryKey(RoomType record);
int insertSelective(RoomType record);
RoomType selectByPrimaryKey(Integer typeId);
int updateByPrimaryKeySelective(RoomType record);
int updateByPrimaryKey(RoomType record);
int updateByRoomTypeSelective(RoomType record);
int deleteByRoomType(RoomType roomType);
RoomType selectByRoomType(RoomType roomType);
List<RoomType> findAll();
}