yujian
2020-05-23 28cf328a098334b51a3e9d2d56f983fb8c862211
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/order/OrderMapper.java
@@ -1,41 +1,41 @@
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);
   /**
    * 根据订单号和订单类型查找订单
    *
    * @param orderId
    * @param orderType
    * @return
    */
   Order selectOrderByOrderIdAndOrderType(@Param("orderId") String orderId, @Param("orderType") int orderType);
   List<Order> selectByUid(Long uid);
   int updateByPrimaryKeySelective(Order record);
   int updateByPrimaryKey(Order record);
   /**
    * 通过用户ID订单类型和备注查询列表
    *
    * @return
    */
   List<Order> listByUidAndOrderTypeAndBeiZhu(@Param("uid") Long uid, @Param("orderType") int orderType,
         @Param("beiZhu") String beiZhu);
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);
   /**
    * 根据订单号和订单类型查找订单
    *
    * @param orderId
    * @param orderType
    * @return
    */
   Order selectOrderByOrderIdAndOrderType(@Param("orderId") String orderId, @Param("orderType") int orderType);
   List<Order> selectByUid(Long uid);
   int updateByPrimaryKeySelective(Order record);
   int updateByPrimaryKey(Order record);
   /**
    * 通过用户ID订单类型和备注查询列表
    *
    * @return
    */
   List<Order> listByUidAndOrderTypeAndBeiZhu(@Param("uid") Long uid, @Param("orderType") int orderType,
         @Param("beiZhu") String beiZhu);
}