|
@@ -451,10 +451,6 @@ public class OrganizationUserServiceImpl extends SuperService {
|
|
|
if (StringUtils.isEmpty(param.getUserId())) {
|
|
if (StringUtils.isEmpty(param.getUserId())) {
|
|
|
return ResultContent.buildFail("userId不能为空");
|
|
return ResultContent.buildFail("userId不能为空");
|
|
|
}
|
|
}
|
|
|
- // 绑定的机构可以为空 02-24
|
|
|
|
|
-// if (StringUtils.isEmpty(param.getOrgOid())) {
|
|
|
|
|
-// return ResultContent.buildFail("orgOid不能为空");
|
|
|
|
|
-// }
|
|
|
|
|
|
|
|
|
|
UserAccount userAccount = userCountDao.findTopByUserId(param.getUserId());
|
|
UserAccount userAccount = userCountDao.findTopByUserId(param.getUserId());
|
|
|
if (ObjectUtils.isEmpty(userAccount)) {
|
|
if (ObjectUtils.isEmpty(userAccount)) {
|
|
@@ -545,7 +541,7 @@ public class OrganizationUserServiceImpl extends SuperService {
|
|
|
if (ObjectUtils.isNotEmpty(param.getDepartmentId())) {
|
|
if (ObjectUtils.isNotEmpty(param.getDepartmentId())) {
|
|
|
department = departmentDao.findTopById(param.getDepartmentId());
|
|
department = departmentDao.findTopById(param.getDepartmentId());
|
|
|
}
|
|
}
|
|
|
- // 位置信息
|
|
|
|
|
|
|
+ // 职位信息
|
|
|
DictInfo position = null;
|
|
DictInfo position = null;
|
|
|
if (StringUtils.isNotEmpty(param.getPositionId())) {
|
|
if (StringUtils.isNotEmpty(param.getPositionId())) {
|
|
|
position = dictInfoDao.findTopById(param.getPositionId());
|
|
position = dictInfoDao.findTopById(param.getPositionId());
|