| | |
| | | } |
| | | |
| | | @Override |
| | | public List<UserInfo> list(List<Long> uidList) { |
| | | if(uidList==null||uidList.size()==0) { |
| | | return new ArrayList<>(); |
| | | } |
| | | return userInfoMapper.listByUids(uidList); |
| | | } |
| | | |
| | | @Override |
| | | public long count(UserInfoQuery userInfoQuery) { |
| | | DaoQuery daoQuery = new DaoQuery(); |
| | | try { |
| | |
| | | @Override |
| | | public List<StatisticNumberResult> statisticRegisterUser(SystemEnum system, BaseStatisticTimeQuery timeQuery) { |
| | | |
| | | return userInfoMapper.statisticByCreateTime(system, BaseStatisticMySQLTimeQuery.create(timeQuery)); |
| | | return userInfoMapper.statisticByCreateTime(system, BaseStatisticMySQLTimeQuery.create(timeQuery)); |
| | | |
| | | } |
| | | |
| | | @Override |
| | | public UserInfo selectValidByPhone(SystemEnum system, String phone) { |
| | | DaoQuery daoQuery = new DaoQuery(); |
| | | daoQuery.phone = phone; |
| | | daoQuery.system = system; |
| | | daoQuery.count = 1; |
| | | List<UserInfo> userInfos = userInfoMapper.list(daoQuery); |
| | | return userInfos != null && userInfos.size() > 0 ? userInfos.get(0) : null; |
| | | } |
| | | |
| | | |
| | | } |