yujian
2020-01-18 f4a0f2acc63d7785eab108419a4e16f5f688cb95
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/order/CommonOrderMapper.java
@@ -9,6 +9,7 @@
import com.yeshi.fanli.dao.BaseMapper;
import com.yeshi.fanli.entity.order.CommonOrder;
import com.yeshi.fanli.entity.order.ESOrder;
import com.yeshi.fanli.vo.order.CommonOrderVO;
import com.yeshi.fanli.vo.order.OrderCountVO;
@@ -26,7 +27,7 @@
   List<CommonOrderVO> listUserOrder(@Param("start") long start, @Param("count") int count, @Param("uid") Long uid,
         @Param("state") Integer state, @Param("type") Integer type, @Param("orderState") Integer orderState,
         @Param("orderNo") String orderNo, @Param("startTime") String startTime, @Param("endTime") String endTime,
         @Param("day") Integer day, @Param("source") Integer source);
         @Param("day") Integer day, @Param("listSource") List<Integer> listSource);
   /**
    * 统计用户订单 并订单号分组
@@ -39,7 +40,7 @@
   long countUserOrder(@Param("uid") Long uid, @Param("state") Integer state, @Param("type") Integer type,
         @Param("orderState") Integer orderState, @Param("orderNo") String orderNo,
         @Param("startTime") String startTime, @Param("endTime") String endTime, @Param("day") Integer day,
         @Param("source") Integer source);
         @Param("listSource") List<Integer> listSource);
   /**
    * 判断部分失效状态
@@ -86,7 +87,7 @@
    * @param uid
    * @return
    */
   OrderCountVO getOrderCount(@Param("uid") Long uid, @Param("day")Integer day, @Param("source") Integer source);
   OrderCountVO getOrderCount(@Param("uid") Long uid, @Param("day")Integer day, @Param("listSource") List<Integer> listSource);
   
   /**
    * 昨日总订单-根据红包类型 自购 邀请 分享
@@ -345,4 +346,28 @@
    * @return
    */
   long count24HValidOrderByUid(@Param("uid") Long uid, @Param("minTime") Date minTime);
   /**
    * 搜索订单
    * @param start
    * @param count
    * @param uid
    * @param list
    * @return
    */
   List<CommonOrderVO> searchOrderByUid(@Param("start") long start, @Param("count") int count, @Param("uid") Long uid,
         @Param("list")List<ESOrder> list);
   /**
    * 搜索订单
    * @param start
    * @param count
    * @param uid
    * @param list
    * @return
    */
   long countSearchOrderByUid(@Param("uid") Long uid, @Param("list")List<ESOrder> list);
}