新增委托方修改
This commit is contained in:
+4
-3
@@ -2114,13 +2114,14 @@ public class UserApplicationService {
|
||||
UserEntity userEntity = userDomainService.updateUser(userDO);
|
||||
//同步网货平台员工信息
|
||||
wlhyDomainService.addOrEditPlatformUser(userEntity);
|
||||
if (userEntity.getUserAccount()!=null){
|
||||
Long organizationId = loginUser.getUserPo().getOrganizationId();
|
||||
Integer ordIsQueue = userMapper.getOrdIsQueue(organizationId);
|
||||
if (userEntity.getUserAccount()!=null&&ordIsQueue==1){
|
||||
//同步yms员工信息
|
||||
ymsDomainService.addOrEditYmsUser(userEntity);
|
||||
BeanUtils.copyProperties(userPo, userEntity);
|
||||
}
|
||||
|
||||
|
||||
BeanUtils.copyProperties(userPo, userEntity);
|
||||
|
||||
return userPo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user