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 selectByUid(Long uid); List findOrderByOrderIdAndTypeAndVersion(@Param("orderId") String orderId, @Param("type") int type, @Param("version") int version); int updateByPrimaryKeySelective(OrderItem record); int updateByPrimaryKey(OrderItem record); // 获取可以转到用户余额中的订单 List selectCanBalanceOrderItem(@Param("minTime") long minTime); List selectByOrderIdSortWithAucationIdAndPayMoney(String orderId); List getOrderItemByOrderId(@Param("orderId") String orderId); List selectOrderItemByOrder(Long orderId); }