yujian
2019-02-27 4bfa8875c0fce82200c08d8e16532b16e2e29056
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
36
37
package com.yeshi.fanli.dao.mybatis.order;
 
import java.util.List;
 
import org.apache.ibatis.annotations.Param;
 
import com.yeshi.fanli.entity.bus.user.OrderItem;
 
public interface OrderItemMapper {
 
    int deleteByPrimaryKey(Long id);
 
    int insert(OrderItem record);
 
    int insertSelective(OrderItem record);
 
    OrderItem selectByPrimaryKey(Long id);
 
    List<OrderItem> selectByUid(Long uid);
 
    List<OrderItem> findOrderByOrderIdAndTypeAndVersion(@Param("orderId") String orderId, @Param("type") int type,
            @Param("version") int version);
 
    int updateByPrimaryKeySelective(OrderItem record);
 
    int updateByPrimaryKey(OrderItem record);
 
    // 获取可以转到用户余额中的订单
    List<OrderItem> selectCanBalanceOrderItem(@Param("minTime") long minTime);
 
    List<OrderItem> selectByOrderIdSortWithAucationIdAndPayMoney(String orderId);
 
    List<OrderItem> getOrderItemByOrderId(@Param("orderId") String orderId);
 
    List<OrderItem> selectOrderItemByOrder(Long orderId);
 
}