添加机构编码

This commit is contained in:
yangjun 2026-03-12 10:38:52 +08:00
parent 0d697973f5
commit 0ed386d1ad
1 changed files with 1 additions and 0 deletions

View File

@ -2031,6 +2031,7 @@ public class SysBaseApiImpl implements ISysBaseAPI {
user.setRealname((String) map.get("realName"));
user.setWorkNo(depart.getOrgCode() + random);
user.setPassword(password);
user.setOrgCode(depart.getOrgCode());
user.setCreateTime(new Date());//设置创建时间
String salt = oConvertUtils.randomGen(8);
user.setSalt(salt);