mirror of
https://github.com/FreeeBird/hotel.git
synced 2025-11-02 21:44:50 +08:00
完成预订方式接口编写
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
package cn.mafangui.hotel.mapper;
|
||||
|
||||
import cn.mafangui.hotel.entity.OrderType;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@Component
|
||||
public interface OrderTypeMapper {
|
||||
int deleteByPrimaryKey(Integer typeId);
|
||||
|
||||
@@ -14,4 +19,8 @@ public interface OrderTypeMapper {
|
||||
int updateByPrimaryKeySelective(OrderType record);
|
||||
|
||||
int updateByPrimaryKey(OrderType record);
|
||||
|
||||
List<OrderType> selectAll();
|
||||
|
||||
|
||||
}
|
||||
@@ -24,5 +24,7 @@ public interface WorkerMapper {
|
||||
|
||||
List<Worker> selectByRole(String role);
|
||||
|
||||
Worker selectByUsername(String username);
|
||||
|
||||
List<Worker> selectAll();
|
||||
}
|
||||
Reference in New Issue
Block a user