完成入住登记接口编写

This commit is contained in:
freeebird
2018-11-16 11:35:35 +08:00
parent 37dc55809e
commit c39dcd5dfa
6 changed files with 195 additions and 39 deletions

View File

@@ -1,7 +1,11 @@
package cn.mafangui.hotel.mapper;
import cn.mafangui.hotel.entity.CheckIn;
import org.springframework.stereotype.Component;
import java.util.List;
@Component
public interface CheckInMapper {
int deleteByPrimaryKey(Integer checkInId);
@@ -11,7 +15,12 @@ public interface CheckInMapper {
CheckIn selectByPrimaryKey(Integer checkInId);
int updateByRoomNumber(String roomNumber);
int updateByPrimaryKeySelective(CheckIn record);
int updateByPrimaryKey(CheckIn record);
List<CheckIn> selectAll();
}