| | |
| | | package com.java110.user.smo.impl; |
| | | |
| | | import com.java110.core.smo.user.IUserInnerServiceSMO; |
| | | import com.java110.dto.PageDto; |
| | | import com.java110.dto.user.UserAttrDto; |
| | | import com.java110.utils.constant.StatusConstant; |
| | | import com.java110.utils.util.BeanConvertUtil; |
| | | import com.java110.core.smo.user.IUserInnerServiceSMO; |
| | | import com.java110.dto.user.UserDto; |
| | | import com.java110.user.dao.IUserServiceDao; |
| | | import com.java110.utils.constant.StatusConstant; |
| | | import com.java110.utils.util.BeanConvertUtil; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | |
| | | |
| | | @Autowired |
| | | private IUserServiceDao userServiceDaoImpl; |
| | | |
| | | |
| | | @Override |
| | | public String getUserServiceVersion(@RequestParam("code") String code) { |
| | |
| | | |
| | | } |
| | | |
| | | @Override |
| | | public List<UserAttrDto> getUserAttrs(@RequestBody UserAttrDto userAttrDto) { |
| | | List<UserAttrDto> userAttrDtos = BeanConvertUtil.covertBeanList( |
| | | userServiceDaoImpl.queryUserInfoAttrs(BeanConvertUtil.beanCovertMap(userAttrDto)), UserAttrDto.class); |
| | | return userAttrDtos; |
| | | } |
| | | |
| | | private void freshUserAttrs(List<UserDto> userDtos) { |
| | | |
| | | Map param = null; |