This commit is contained in:
=
2026-03-26 11:23:28 +08:00
parent 160b2ab945
commit b08bf72a4a
9 changed files with 65 additions and 40 deletions
@@ -189,6 +189,11 @@ public class SysDataUserAllUpdateServiceImpl implements SysDataUserUpdateService
Sys_user u = new Sys_user();
BeanUtils.copyProperties(source, u);
//单位id取前四位数(二级单位)
if (u.getUnitId() != null && u.getUnitId().length() > 4) {
u.setUnitId(u.getUnitId().substring(0, 4));
}
if (user == null) {
// 新增用户,初始化数据
String salt = R.UU32();