From 9a53796eca4516b853e698b85a148a8b058864e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=B6=E4=B8=9C?= <1654135867@qq.com> Date: Sun, 10 Nov 2024 13:22:25 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../expert/controller/ExpertController.java | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java index 7e72a5d..179d030 100644 --- a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java +++ b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java @@ -475,23 +475,6 @@ public class ExpertController extends JeecgController { expert.setErrinfo(""); } expertService.updateById(expert); - //开始添加到用户表 - SysUser user = new SysUser(); - user.setAvatar(expert.getTopPic()); - user.setSex(expert.getSex()); - user.setRealname(expert.getRealname()); - user.setUsername(expert.getSeusername()); - user.setWorkNo(expert.getWorkon()); - user.setEmail(expert.getEmails()); - user.setPhone(expert.getPhone()); - user.setCreateTime(new Date());//设置创建时间 - String salt = oConvertUtils.randomGen(8); - user.setSalt(salt); - String passwordEncode = PasswordUtil.encrypt(expert.getSeusername(), expert.getPsd(), salt); - user.setPassword(passwordEncode); - user.setStatus(1); - user.setDelFlag(CommonConstant.DEL_FLAG_0); - sysUserService.editUser(user,"1843478958968647681", expert.getSsdep(), "", ""); return Result.OK("编辑成功!"); }