IUnionClickLogsDAO.java
1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package com.yoho.unions.dal;
import com.yoho.service.model.union.request.ActivateDeviceIdReqBO;
import com.yoho.service.model.union.request.UnionLogsReqBO;
import com.yoho.service.model.union.response.ActivateDeviceIdRspBO;
import com.yoho.unions.dal.model.UnionClickCount;
import com.yoho.unions.dal.model.UnionClickLogs;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface IUnionClickLogsDAO {
int deleteByPrimaryKey(Integer id);
int deleteLimit(@Param("endTime") int endTime);
int insert(UnionClickLogs record);
int insertSelective(UnionClickLogs record);
UnionClickLogs selectByPrimaryKey(Integer id);
int updateByPrimaryKey(UnionClickLogs record);
UnionClickLogs selectByIdfa(@Param("idfa") String idfa,@Param("beginTime") int beginTime,@Param("endTime") int endTime);
UnionClickLogs selectByImei(@Param("imei") String imei,@Param("beginTime") int beginTime,@Param("endTime") int endTime);
UnionClickLogs selectByTDandIP(@Param("td") String td,@Param("clientIp")String clientIp,@Param("beginTime") int beginTime,@Param("endTime") int endTime);
List<ActivateDeviceIdRspBO> selectListByParam(@Param("list") List<ActivateDeviceIdRspBO> activateDeviceIdRspList,@Param("bo") ActivateDeviceIdReqBO activateDeviceIdReqBO);
Integer queryActivateIdfaCount(ActivateDeviceIdReqBO activateDeviceIdReqBO);
Integer queryActivateImeiCount(ActivateDeviceIdReqBO activateDeviceIdReqBO);
int queryUnionClickLogsCountByParam(UnionLogsReqBO unionLogsReqBO);
List<UnionClickLogs> queryUnionClickLogsByParam(UnionLogsReqBO unionLogsReqBO);
List<UnionClickCount> queryCountInfoByTime(@Param("beginTime") int beginTime,@Param("endTime") int endTime);
}