| | |
| | |
|
| | | import java.math.BigDecimal;
|
| | | import java.util.List;
|
| | | import java.util.Map;
|
| | |
|
| | | import com.yeshi.fanli.entity.admin.OrderAdmin;
|
| | | import com.yeshi.fanli.entity.bus.user.HongBao;
|
| | |
| | | */
|
| | | public void connectHongBaoAndOrderItem();
|
| | |
|
| | | public void addHongBao(Order order, TaoBaoOrder taoBaoOrder, Long orderItemId);
|
| | |
|
| | | public void updateHongBao(HongBao hongBao, TaoBaoOrder taoBaoOrder);
|
| | |
|
| | | /**
|
| | | * 累计提成订单数量(包含无效的订单)
|
| | | *
|
| | |
| | | */
|
| | | public List<HongBao> listShareAndInviteMoney(long start, int count, String date);
|
| | |
|
| | | /**
|
| | | * 根据渠道 统计历史产生的订单数量
|
| | | * @param channel
|
| | | * @return
|
| | | */
|
| | | public List<Map<String, Object>> countHistoryOderByChannel(String channelArray, Integer type, String year,
|
| | | String startTime, String endTime) throws Exception;
|
| | |
|
| | | /**
|
| | | * 根据渠道 统计新增用户24小时内产生的订单数量
|
| | | * @param channel
|
| | | * @return
|
| | | */
|
| | | public List<Map<String, Object>> count24HOderByChannel(String channel, Integer type, String years,
|
| | | String startTime, String endTime) throws Exception;
|
| | |
|
| | | }
|