| 5432 |
amar.kumar |
1 |
package in.shop2020.user.persistence;
|
|
|
2 |
|
|
|
3 |
import java.util.Date;
|
|
|
4 |
import java.util.List;
|
|
|
5 |
|
|
|
6 |
import org.apache.ibatis.annotations.Param;
|
|
|
7 |
|
|
|
8 |
import in.shop2020.user.domain.TrackLog;
|
|
|
9 |
import in.shop2020.user.domain.Tracker;
|
|
|
10 |
|
|
|
11 |
public interface TrackMapper {
|
|
|
12 |
|
|
|
13 |
TrackLog getTrackLogById(long id);
|
|
|
14 |
|
|
|
15 |
Tracker getTrackerById(long id);
|
|
|
16 |
|
|
|
17 |
List<TrackLog> getTrackLogsByUser(long userId);
|
|
|
18 |
|
|
|
19 |
void addTrackLog(in.shop2020.user.domain.TrackLog trackLog);
|
|
|
20 |
|
|
|
21 |
List<in.shop2020.user.domain.TrackLog> getTrackLogs(@Param("userId") long userId,
|
|
|
22 |
@Param("event") String event, @Param("url") String url);
|
|
|
23 |
|
|
|
24 |
List<in.shop2020.user.domain.TrackLog> getTrackLogsByAffiliate(
|
|
|
25 |
@Param("affiliateId") long affiliateId, @Param("startDate") Date startDate,
|
|
|
26 |
@Param("endDate") Date endDate);
|
|
|
27 |
|
|
|
28 |
}
|