Initial commit

This commit is contained in:
muamua
2018-10-13 16:24:01 +08:00
commit 96611e9f72
38 changed files with 2783 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
package cn.mafangui.hotel.mapper;
import cn.mafangui.hotel.entity.Admin;
public interface AdminMapper {
int deleteByPrimaryKey(Integer adminId);
int insert(Admin record);
int insertSelective(Admin record);
Admin selectByPrimaryKey(Integer adminId);
int updateByPrimaryKeySelective(Admin record);
int updateByPrimaryKey(Admin record);
}

View File

@@ -0,0 +1,17 @@
package cn.mafangui.hotel.mapper;
import cn.mafangui.hotel.entity.CheckIn;
public interface CheckInMapper {
int deleteByPrimaryKey(Integer checkInId);
int insert(CheckIn record);
int insertSelective(CheckIn record);
CheckIn selectByPrimaryKey(Integer checkInId);
int updateByPrimaryKeySelective(CheckIn record);
int updateByPrimaryKey(CheckIn record);
}

View File

@@ -0,0 +1,17 @@
package cn.mafangui.hotel.mapper;
import cn.mafangui.hotel.entity.Hotel;
public interface HotelMapper {
int deleteByPrimaryKey(Integer hotelId);
int insert(Hotel record);
int insertSelective(Hotel record);
Hotel selectByPrimaryKey(Integer hotelId);
int updateByPrimaryKeySelective(Hotel record);
int updateByPrimaryKey(Hotel record);
}

View File

@@ -0,0 +1,17 @@
package cn.mafangui.hotel.mapper;
import cn.mafangui.hotel.entity.Order;
public interface OrderMapper {
int deleteByPrimaryKey(Integer orderId);
int insert(Order record);
int insertSelective(Order record);
Order selectByPrimaryKey(Integer orderId);
int updateByPrimaryKeySelective(Order record);
int updateByPrimaryKey(Order record);
}

View File

@@ -0,0 +1,17 @@
package cn.mafangui.hotel.mapper;
import cn.mafangui.hotel.entity.Room;
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);
}

View File

@@ -0,0 +1,17 @@
package cn.mafangui.hotel.mapper;
import cn.mafangui.hotel.entity.RoomType;
public interface RoomTypeMapper {
int deleteByPrimaryKey(Integer typeId);
int insert(RoomType record);
int insertSelective(RoomType record);
RoomType selectByPrimaryKey(Integer typeId);
int updateByPrimaryKeySelective(RoomType record);
int updateByPrimaryKey(RoomType record);
}

View File

@@ -0,0 +1,21 @@
package cn.mafangui.hotel.mapper;
import cn.mafangui.hotel.entity.User;
import org.springframework.stereotype.Component;
@Component
public interface UserMapper {
int deleteByPrimaryKey(Integer userId);
int insert(User record);
int insertSelective(User record);
User selectByPrimaryKey(Integer userId);
int updateByPrimaryKeySelective(User record);
int updateByPrimaryKey(User record);
User selectByUserNameAndPassword(User user);
}

View File

@@ -0,0 +1,17 @@
package cn.mafangui.hotel.mapper;
import cn.mafangui.hotel.entity.Worker;
public interface WorkerMapper {
int deleteByPrimaryKey(Integer workerId);
int insert(Worker record);
int insertSelective(Worker record);
Worker selectByPrimaryKey(Integer workerId);
int updateByPrimaryKeySelective(Worker record);
int updateByPrimaryKey(Worker record);
}