From e247e6e01f4dda6e536cd822c25467d1b859cb77 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期一, 08 一月 2024 17:38:07 +0800 Subject: [PATCH] 看板数据 --- ycl-platform/src/main/java/com/ycl/service/auth/impl/AuthService.java | 6 ++++-- 1 files changed, 4 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..01c7d63 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 @@ -58,13 +58,15 @@ userParam.setOpenid(openid); //openid userParam.setIsDy(Byte.parseByte("0")); userParam.setMobile(""); + userParam.setAccountId(dingUserInfo.getAccountId()); String encodePassword = passwordEncoder.encode("123456"); 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