新增委托方修改

This commit is contained in:
赵辉
2026-05-22 11:06:25 +08:00
parent dbb1cace5b
commit 540b805546
@@ -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;
}