refactor: 代码生成临时提交

This commit is contained in:
ray
2024-07-14 23:33:11 +08:00
parent 9a8490d8c2
commit b65641220e
51 changed files with 1088 additions and 1185 deletions

View File

@@ -104,7 +104,7 @@ public class UserImportListener extends MyAnalysisEventListener<UserImportDTO> {
if (validationMsg.isEmpty()) {
// 校验通过,持久化至数据库
SysUser entity = userConverter.convertToEntity(userImportDTO);
SysUser entity = userConverter.toEntity(userImportDTO);
entity.setPassword(passwordEncoder.encode(SystemConstants.DEFAULT_PASSWORD)); // 默认密码
// 性别翻译
String genderLabel = userImportDTO.getGenderLabel();