package com.njcn.serviceimpl.user;

import com.njcn.mapper.user.*;
import com.njcn.pojo.user.UserSet;
import com.njcn.service.user.UserSetService;
import com.njcn.utils.UserUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserSetServiceImpl implements UserSetService {
	@Resource
	UserMapper um; 
  @Resource
  UserSetMapper setMapper;
  @Autowired
	RoleMapper roleMapper;
	@Autowired
	DeptsMapper deptsMapper;
	@Autowired
	RoleGroupMapper rolegroupMapper;
	@Autowired
	private UserUtil userUtil;


	@Override
	public int updateUserSet(UserSet userSet) {
		// TODO Auto-generated method stub
		return setMapper.updateUserSet(userSet);
	}
}
