| | |
| | | import com.yeshi.fanli.entity.taobao.TaoBaoOrder;
|
| | | import com.yeshi.fanli.exception.order.CommonOrderException;
|
| | | import com.yeshi.fanli.vo.order.CommonOrderVO;
|
| | | import com.yeshi.fanli.vo.order.OrderCountVO;
|
| | |
|
| | | import net.sf.json.JSONObject;
|
| | |
|
| | |
| | | */
|
| | | public CommonOrderVO firstValidOrderLastMonthByUidAndType(Long uid, Integer type);
|
| | |
|
| | | /**
|
| | | * 首个分享订单
|
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public CommonOrder getFirstShareOrderByUid(Long uid);
|
| | |
|
| | | /**
|
| | | * 订单中获得有效奖金
|
| | | * @param orderNo
|
| | | * @param sourceType
|
| | | * @return
|
| | | */
|
| | | public BigDecimal getTotalRewardMoneyByOrderNoAndSourceType(String orderNo, Integer sourceType);
|
| | |
|
| | | /**
|
| | | * 统计24小时有效自购订单
|
| | | * @param uid
|
| | | * @param minTime
|
| | | * @return
|
| | | */
|
| | | public long count24HValidOrderByUid(Long uid, Date minTime);
|
| | |
|
| | | /**
|
| | | * 订单统计有效数量
|
| | | * @param uid
|
| | | * @param day
|
| | | * @param source
|
| | | * @return
|
| | | */
|
| | | public OrderCountVO getOrderCount(Long uid, Integer day, Integer source);
|
| | |
|
| | | }
|