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);
|
}
|