| | |
| | | import com.yeshi.fanli.entity.order.ESOrder; |
| | | import com.yeshi.fanli.entity.pdd.PDDOrder; |
| | | import com.yeshi.fanli.entity.taobao.TaoBaoOrder; |
| | | import com.yeshi.fanli.entity.taobao.TaoBaoWeiQuanOrder; |
| | | import com.yeshi.fanli.exception.order.CommonOrderException; |
| | | import com.yeshi.fanli.vo.order.CommonOrderVO; |
| | | import com.yeshi.fanli.vo.order.OrderCountVO; |
| | |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public List<CommonOrderVO> searchOrderByUid(int page, int size, Long uid, List<ESOrder> list) throws Exception; |
| | | public List<CommonOrderVO> searchOrderByUid(AcceptData acceptData, int page, int size, Long uid, List<ESOrder> list) throws Exception; |
| | | |
| | | public long countSearchOrderByUid(Long uid, List<ESOrder> list); |
| | | |
| | | /** |
| | | * 返回订单的第三方创建时间 |
| | | * @Title: getThirdCreateTime |
| | | * @Description: |
| | | * @param orderId |
| | | * @param sourceType |
| | | * @return |
| | | * Date 返回类型 |
| | | * @throws |
| | | */ |
| | | public Date getThirdCreateTime(String orderId,int sourceType); |
| | | |
| | | |
| | | public List<CommonOrder> getMinSettleTimeAndUid(); |
| | | |
| | | /** |
| | | * 新版红包信息2.1 |
| | | * @param acceptData |
| | | * @param page |
| | | * @param uid |
| | | * @param state |
| | | * @param type |
| | | * @param orderState |
| | | * @param orderNo |
| | | * @param startTime |
| | | * @param endTime |
| | | * @param dateType |
| | | * @param listSource |
| | | * @return |
| | | * @throws CommonOrderException |
| | | * @throws Exception |
| | | */ |
| | | public List<CommonOrderVO> getOrderList(AcceptData acceptData, Integer page, Long uid, Integer state, Integer type, |
| | | Integer orderState, String orderNo, String startTime, String endTime, Integer dateType, |
| | | List<Integer> listSource) throws CommonOrderException, Exception; |
| | | |
| | | long countOrderList(Long uid, Integer state, Integer type, Integer orderState, String orderNo, String startTime, |
| | | String endTime, Integer dateType, List<Integer> listSource) throws CommonOrderException; |
| | | |
| | | /** |
| | | * 维权金额计算 |
| | | * @param listWQ |
| | | * @param sourceType |
| | | * @param uid |
| | | * @return |
| | | */ |
| | | public BigDecimal getWeiQuanMoney(List<TaoBaoWeiQuanOrder> listWQ, int sourceType, Long uid); |
| | | |
| | | |
| | | /** |
| | | * 统计订单记录数量-非订单号为主 |
| | | * @param uid |
| | | * @param payment |
| | | * @return |
| | | */ |
| | | public long countOrderByUidAndSettled(Long uid, BigDecimal payment); |
| | | |
| | | /** |
| | | * 获取最新的淘宝订单号 |
| | | * @return |
| | | */ |
| | | public String getNewestOrderNoByTaoBao(); |
| | | |
| | | } |