admin
2018-12-26 f4b0bb5dfda8f21409b9eb0b2ee6e436c87475e3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package com.yeshi.fanli.dao.mybatis.order;
 
import java.util.List;
 
import org.apache.ibatis.annotations.Param;
 
import com.yeshi.fanli.entity.bus.user.Order;
 
public interface OrderMapper {
 
    int deleteByPrimaryKey(Long id);
 
    int insert(Order record);
 
    int insertSelective(Order record);
 
    Order selectByPrimaryKey(Long id);
 
    // 根据订单号查找订单
    Order selectOrderByOrderId(String orderId);
 
    /**
     * 根据订单号和订单类型查找订单
     * @param orderId
     * @param orderType
     * @return
     */
    List<Order> selectOrderByOrderIdAndOrderType(@Param("orderId")String orderId,@Param("orderType") int orderType);
 
    List<Order> selectByUid(Long uid);
 
    int updateByPrimaryKeySelective(Order record);
 
    int updateByPrimaryKey(Order record);
}