| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- package com.goafanti.user.service.impl;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.stereotype.Service;
- import com.goafanti.common.dao.UserIdentityMapper;
- import com.goafanti.common.model.UserIdentity;
- import com.goafanti.user.bo.UserIdentityBo;
- import com.goafanti.user.service.UserIdentityService;
- @Service
- public class UserIdentityServiceImpl implements UserIdentityService{
- @Autowired
- UserIdentityMapper userIdentityMapper;
- @Override
- public UserIdentity selectUserIdentityByUserId(String uid) {
- return userIdentityMapper.selectUserIdentityByUserId(uid);
- }
- @Override
- public UserIdentity insert(UserIdentity userIdentity) {
- userIdentityMapper.insert(userIdentity);
- return userIdentity;
- }
- @Override
- public int updateByPrimaryKeySelective(UserIdentity userIdentity) {
- return userIdentityMapper.updateByPrimaryKeySelective(userIdentity);
- }
- @Override
- public UserIdentityBo selectUserIdentityBoByUserId(String uid) {
- return userIdentityMapper.selectUserIdentityBoByUserId(uid);
- }
- @Override
- public int updateByPrimaryKey(UserIdentity u) {
- return userIdentityMapper.updateByPrimaryKey(u);
- }
- }
|