mirror of
https://github.com/FreeeBird/hotel.git
synced 2025-11-02 21:44:50 +08:00
更新数据库结构,重写订单接口,添加注释
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
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);
|
||||
|
||||
@@ -18,12 +14,4 @@ public interface OrderMapper {
|
||||
int updateByPrimaryKeySelective(Order record);
|
||||
|
||||
int updateByPrimaryKey(Order record);
|
||||
|
||||
List<Order> selectByUserId(int userId);
|
||||
|
||||
List<Order> selectAll();
|
||||
|
||||
List<Order> userSelectAll(int userId);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user