| | |
| | | package com.yeshi.fanli.service.inter.user;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.bus.user.UserInfoRegister;
|
| | |
|
| | | public interface UserInfoRegisterService {
|
| | |
|
| | | /**
|
| | | * 根据多个用户id查询
|
| | | * @param list
|
| | | * @return
|
| | | */
|
| | | public List<UserInfoRegister> listByMultipleUids(List<Long> list);
|
| | |
|
| | | public List<UserInfoRegister> listByMultipleUidAndDay(List<Long> list, String preDay);
|
| | |
|
| | | |
| | | /**
|
| | | * 根据渠道id查询用户
|
| | | * @param channel
|
| | | * @return
|
| | | */
|
| | | public List<Long> listUidByChannel(String channel);
|
| | | |
| | | /**
|
| | | * 根据渠道id查询用户
|
| | | * @param channel
|
| | | * @return
|
| | | */
|
| | | public List<Long> listUidByChannelAndDay(String channel, String preDay);
|
| | |
|
| | | |
| | | public List<UserInfoRegister> listByChannelAndDay(String channel, String preDay);
|
| | |
|
| | | |
| | | /**
|
| | | * 统计渠道每天新增个数
|
| | | * @param channel
|
| | | * @param preDay
|
| | | * @return
|
| | | */
|
| | | public Integer countByChannelAndDay(String channel, String preDay);
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.service.inter.user; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.entity.bus.user.UserInfoRegister; |
| | | |
| | | public interface UserInfoRegisterService { |
| | | |
| | | /** |
| | | * 根据多个用户id查询 |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public List<UserInfoRegister> listByMultipleUids(List<Long> list); |
| | | |
| | | public List<UserInfoRegister> listByMultipleUidAndDay(List<Long> list, String preDay); |
| | | |
| | | |
| | | /** |
| | | * 根据渠道id查询用户 |
| | | * @param channel |
| | | * @return |
| | | */ |
| | | public List<Long> listUidByChannel(String channel); |
| | | |
| | | /** |
| | | * 根据渠道id查询用户 |
| | | * @param channel |
| | | * @return |
| | | */ |
| | | public List<Long> listUidByChannelAndDay(String channel, String preDay); |
| | | |
| | | |
| | | public List<UserInfoRegister> listByChannelAndDay(String channel, String preDay); |
| | | |
| | | |
| | | /** |
| | | * 统计渠道每天新增个数 |
| | | * @param channel |
| | | * @param preDay |
| | | * @return |
| | | */ |
| | | public Long countByChannelAndDay(String channel, String preDay); |
| | | |
| | | /** |
| | | * 添加注册信息 |
| | | * @param record |
| | | */ |
| | | public void addRegisterInfo(UserInfoRegister record); |
| | | |
| | | public List<UserInfoRegister> listByDay(String preDay); |
| | | |
| | | /** |
| | | * 查询用户注册信息 |
| | | * @param uid |
| | | * @return |
| | | */ |
| | | public UserInfoRegister selectByPrimaryKey(Long uid); |
| | | |
| | | } |