| | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | import java.util.stream.Collectors; |
| | | import javax.annotation.Resource; |
| | | import javax.validation.Validator; |
| | | |
| | | import com.hrt.system.domain.SysPost; |
| | | import com.hrt.system.domain.SysUserPost; |
| | | import com.hrt.system.domain.SysUserRole; |
| | | import com.hrt.system.mapper.SysRoleMapper; |
| | | import com.hrt.system.mapper.SysUserMapper; |
| | | import com.hrt.system.mapper.SysUserPostMapper; |
| | | import com.hrt.system.domain.poji.user.SysPost; |
| | | import com.hrt.system.domain.poji.user.SysUserPost; |
| | | import com.hrt.system.domain.poji.user.SysUserRole; |
| | | import com.hrt.system.mapper.user.SysRoleMapper; |
| | | import com.hrt.system.mapper.user.SysUserMapper; |
| | | import com.hrt.system.mapper.user.SysUserPostMapper; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.util.CollectionUtils; |
| | |
| | | import com.hrt.common.security.utils.SecurityUtils; |
| | | import com.hrt.system.api.domain.SysRole; |
| | | import com.hrt.system.api.domain.SysUser; |
| | | import com.hrt.system.mapper.SysPostMapper; |
| | | import com.hrt.system.mapper.SysUserRoleMapper; |
| | | import com.hrt.system.service.ISysConfigService; |
| | | import com.hrt.system.service.ISysUserService; |
| | | import com.hrt.system.mapper.user.SysPostMapper; |
| | | import com.hrt.system.mapper.user.SysUserRoleMapper; |
| | | import com.hrt.system.service.sys.ISysConfigService; |
| | | import com.hrt.system.service.user.ISysUserService; |
| | | |
| | | /** |
| | | * 用户 业务层处理 |
| | |
| | | { |
| | | private static final Logger log = LoggerFactory.getLogger(SysUserServiceImpl.class); |
| | | |
| | | @Autowired |
| | | @Resource |
| | | private SysUserMapper userMapper; |
| | | |
| | | @Autowired |
| | | @Resource |
| | | private SysRoleMapper roleMapper; |
| | | |
| | | @Autowired |
| | | @Resource |
| | | private SysPostMapper postMapper; |
| | | |
| | | @Autowired |
| | | @Resource |
| | | private SysUserRoleMapper userRoleMapper; |
| | | |
| | | @Autowired |
| | | @Resource |
| | | private SysUserPostMapper userPostMapper; |
| | | |
| | | @Autowired |
| | | @Resource |
| | | private ISysConfigService configService; |
| | | |
| | | @Autowired |
| | | @Resource |
| | | protected Validator validator; |
| | | |
| | | /** |