| | |
| | |
|
| | | import com.yeshi.fanli.dao.mybatis.user.UserInfoRegisterMapper;
|
| | | import com.yeshi.fanli.entity.bus.user.UserInfoRegister;
|
| | | import com.yeshi.fanli.entity.system.ChannelEnum;
|
| | | import com.yeshi.fanli.service.inter.user.UserInfoRegisterService;
|
| | | import com.yeshi.fanli.util.StringUtil;
|
| | |
|
| | | @Service
|
| | | public class UserInfoRegisterServiceImpl implements UserInfoRegisterService {
|
| | |
| | | if (info != null)
|
| | | return;
|
| | |
|
| | | if (StringUtil.isNullOrEmpty(record.getChannel())) {
|
| | | record.setChannel(ChannelEnum.unknown.getVlaue());
|
| | | }
|
| | | |
| | | record.setCreateTime(new Date());
|
| | | userInfoRegisterMapper.insertSelective(record);
|
| | | }
|
| | | |
| | | |
| | | @Override
|
| | | public UserInfoRegister selectByPrimaryKey(Long uid) {
|
| | | return userInfoRegisterMapper.selectByPrimaryKey(uid);
|
| | | }
|
| | |
|
| | |
|
| | |
| | | return userInfoRegisterMapper.listByMultipleUidAndDay(list, preDay);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public List<UserInfoRegister> listByDay(String preDay) {
|
| | | return userInfoRegisterMapper.listByDay(preDay);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public List<UserInfoRegister> listByChannelAndDay(String channel, String preDay) {
|