From 1cad14bca191807e18705c3a5526eda8151be439 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期一, 14 四月 2025 23:10:22 +0800 Subject: [PATCH] 批量审核和图片保存bug --- 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