use of com.itrus.portal.db.MobileUserExample in project portal by ixinportal.
the class MobileCertificateService method selectByUserId.
// 根据用户id查询对应的用户信息
public MobileUser selectByUserId(Long id) {
MobileUserExample userExample = new MobileUserExample();
MobileUserExample.Criteria ue = userExample.createCriteria();
ue.andIdEqualTo(id);
MobileUser mobileUser = sqlSession.selectOne("com.itrus.portal.db.MobileUserMapper.selectByExample", userExample);
return mobileUser;
}
use of com.itrus.portal.db.MobileUserExample in project portal by ixinportal.
the class MobileRiskStatisticsLogService method selectByUserId.
// 根据控记录的用户ID查询该记录所对应的用户信息
public MobileUser selectByUserId(String userId) {
if (userId != null) {
MobileUserExample example = new MobileUserExample();
MobileUserExample.Criteria criteria = example.createCriteria();
criteria.andUserIdEqualTo(userId);
MobileUser mobileUser = sqlSession.selectOne("com.itrus.portal.db.MobileUserMapper.selectByExample", example);
return mobileUser;
}
return null;
}
Aggregations