|
@@ -246,12 +246,13 @@ public class CompanyUserServiceImpl implements ICompanyUserService
|
|
|
@Transactional
|
|
|
public int insertUser(CompanyUser user)
|
|
|
{
|
|
|
+ logger.info("打印邀请用户信息------------------------------》:{}",user);
|
|
|
// 新增用户信息
|
|
|
int rows = companyUserMapper.insertCompanyUser(user);
|
|
|
- // 新增用户岗位关联
|
|
|
- insertUserPost(user);
|
|
|
- // 新增用户与角色管理
|
|
|
- insertUserRole(user);
|
|
|
+// // 新增用户岗位关联
|
|
|
+// insertUserPost(user);
|
|
|
+// // 新增用户与角色管理
|
|
|
+// insertUserRole(user);
|
|
|
//新增用户需要修改密码
|
|
|
redisCache.setCacheObject("newCompanyUser:" + user.getCompanyId() + ":" +user.getUserName(),user.getUserId());
|
|
|
return rows;
|