修改新增单位注册管理员功能

This commit is contained in:
2025-09-06 10:39:03 +08:00
parent c565114c4c
commit 0b0103ea07

View File

@@ -1,6 +1,7 @@
package org.dromara.property.service.impl;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.crypto.digest.BCrypt;
import org.dromara.common.core.utils.MapstructUtils;
import org.dromara.common.core.utils.StringUtils;
import org.dromara.common.mybatis.core.page.TableDataInfo;
@@ -154,6 +155,7 @@ public class ResidentUnitServiceImpl implements IResidentUnitService {
residentPerson.setAuthEndDate(unit.getAuthEndDate());
residentPerson.setUnitId(unit.getId());
residentPerson.setUnitName(unit.getName());
residentPerson.setPassword(BCrypt.hashpw("123456"));
personMapper.insert(residentPerson);
}
/**