用户新增简历模版Json、工作性值属性

This commit is contained in:
2026-01-13 23:18:53 +08:00
parent 85294a917a
commit 43578299bc
12 changed files with 478 additions and 138 deletions

View File

@@ -3,6 +3,8 @@ package com.vetti.web.controller.system;
import java.util.List;
import java.util.stream.Collectors;
import javax.servlet.http.HttpServletResponse;
import cn.hutool.json.JSONUtil;
import org.apache.commons.lang3.ArrayUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
@@ -177,6 +179,8 @@ public class SysUserController extends BaseController
{
return error("修改用户'" + user.getUserName() + "'失败,邮箱账号已存在");
}
user.setCvTemplateJson(JSONUtil.toJsonStr(user.getCvInfoDto()));
user.setWorkNatureJson(JSONUtil.toJsonStr(user.getWorkNatureDto()));
user.setUpdateBy(getUsername());
return toAjax(userService.updateUser(user));
}