| | |
| | |
|
| | | 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;
|
| | |
|
| | |
| | | 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);
|
| | |
|
| | | /**
|
| | | * 统计用户订单 并订单号分组
|
| | |
| | | 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);
|
| | |
|
| | | /**
|
| | | * 判断部分失效状态
|
| | |
| | | * @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);
|
| | |
|
| | | /**
|
| | | * 昨日总订单-根据红包类型 自购 邀请 分享
|
| | |
| | | * @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);
|
| | |
|
| | | } |