From 7dc9e1cca58f183cdfbafa5c433f23ae0d16efd7 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期一, 04 十二月 2023 17:46:54 +0800
Subject: [PATCH] 平台端调度部门下拉框回滚版本
---
ycl-platform/src/main/java/com/ycl/service/auth/impl/AuthService.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ycl-platform/src/main/java/com/ycl/service/auth/impl/AuthService.java b/ycl-platform/src/main/java/com/ycl/service/auth/impl/AuthService.java
index 811aebb..c2ff7d1 100644
--- a/ycl-platform/src/main/java/com/ycl/service/auth/impl/AuthService.java
+++ b/ycl-platform/src/main/java/com/ycl/service/auth/impl/AuthService.java
@@ -62,9 +62,10 @@
userParam.setPassword(encodePassword); //瀵嗙爜
userParam.setStatus(1); //鐘舵��
adminService.save(userParam);
- dingCommon.getEmpInfoByCode(dingUserInfo.getEmployeeCode());
+ DingUserInfo empInfoByCode = dingCommon.getEmpInfoByCode(dingUserInfo.getEmployeeCode());
//鏌ヨ閮ㄩ棬鏄惁瀛樺湪锛�
- UmsDepart depart = departService.getById(dingUserInfo.getOrgId());
+ UmsDepart depart = departService.getById(empInfoByCode.getOrgId());
+ log.info("閮ㄩ棬---------------->{}",depart);
//鍛樺伐淇℃伅锛屽叧鑱旂粍缁�
if (Objects.nonNull(depart)) {
UmsDepartManage departManage = new UmsDepartManage();
--
Gitblit v1.8.0