| | |
| | | package com.yeshi.fanli.service.inter.brand;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.brand.TaoBaoShopHistory;
|
| | |
|
| | | /**
|
| | | * 店铺足迹
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | public interface TaoBaoShopHistoryService {
|
| | |
|
| | | /**
|
| | | * 用户足迹
|
| | | * @param start
|
| | | * @param count
|
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public List<TaoBaoShopHistory> listByUid(long start, int count, Long uid);
|
| | |
|
| | | public long countByUid(Long uid);
|
| | |
|
| | | /**
|
| | | * 设备足迹
|
| | | * @param start
|
| | | * @param count
|
| | | * @param device
|
| | | * @return
|
| | | */
|
| | | public List<TaoBaoShopHistory> listByDevice(long start, int count, String device);
|
| | |
|
| | | public long countByDevice(String device);
|
| | |
|
| | | /**
|
| | | * 添加历史记录
|
| | | * @param shopId
|
| | | * @param uid
|
| | | * @param device
|
| | | */
|
| | | public void addHistory(Long shopId, Long uid, String device);
|
| | |
|
| | | /**
|
| | | * 删除足迹
|
| | | * @param list
|
| | | * @param uid
|
| | | * @param device
|
| | | */
|
| | | public void deleteHistory(List<String> list, Long uid, String device);
|
| | |
|
| | | /**
|
| | | * 统计店铺浏览数量
|
| | | * @param shopId
|
| | | * @return
|
| | | */
|
| | | public long countByShopId(Long shopId);
|
| | | |
| | | |
| | | }
|
| | | package com.yeshi.fanli.service.inter.brand; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.entity.brand.TaoBaoShopHistory; |
| | | |
| | | /** |
| | | * 店铺足迹 |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | public interface TaoBaoShopHistoryService { |
| | | |
| | | /** |
| | | * 用户足迹 |
| | | * @param start |
| | | * @param count |
| | | * @param uid |
| | | * @return |
| | | */ |
| | | public List<TaoBaoShopHistory> listByUid(long start, int count, Long uid); |
| | | |
| | | public long countByUid(Long uid); |
| | | |
| | | /** |
| | | * 设备足迹 |
| | | * @param start |
| | | * @param count |
| | | * @param device |
| | | * @return |
| | | */ |
| | | public List<TaoBaoShopHistory> listByDevice(long start, int count, String device); |
| | | |
| | | public long countByDevice(String device); |
| | | |
| | | /** |
| | | * 添加历史记录 |
| | | * @param shopId |
| | | * @param uid |
| | | * @param device |
| | | */ |
| | | public void addHistory(Long shopId, Long uid, String device); |
| | | |
| | | /** |
| | | * 删除足迹 |
| | | * @param list |
| | | * @param uid |
| | | * @param device |
| | | */ |
| | | public void deleteHistory(List<String> list, Long uid, String device); |
| | | |
| | | /** |
| | | * 统计店铺浏览数量 |
| | | * @param shopId |
| | | * @return |
| | | */ |
| | | public long countByShopId(Long shopId); |
| | | |
| | | |
| | | } |