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,11 @@
|
||||
package cn.mafangui.hotel.mapper;
|
||||
|
||||
import cn.mafangui.hotel.entity.Order;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Component
|
||||
public interface OrderMapper {
|
||||
int deleteByPrimaryKey(Integer orderId);
|
||||
|
||||
@@ -14,4 +18,10 @@ public interface OrderMapper {
|
||||
int updateByPrimaryKeySelective(Order record);
|
||||
|
||||
int updateByPrimaryKey(Order record);
|
||||
|
||||
List<Order> selectByUserId(int userId);
|
||||
|
||||
List<Order> selectAll();
|
||||
|
||||
|
||||
}
|
||||
@@ -25,4 +25,6 @@ public interface UserMapper {
|
||||
User selectByUsername(String username);
|
||||
|
||||
List<User> selectAll();
|
||||
|
||||
List<User> selectAllUser();
|
||||
}
|
||||
Reference in New Issue
Block a user