From 338f2f5afc7762dabf2409f296d5d023462ed4b5 Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期四, 28 八月 2025 17:18:25 +0800 Subject: [PATCH] 部分新功能 --- multi-admin/src/main/java/com/gkhy/exam/admin/controller/system/SysUserController.java | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/multi-admin/src/main/java/com/gkhy/exam/admin/controller/system/SysUserController.java b/multi-admin/src/main/java/com/gkhy/exam/admin/controller/system/SysUserController.java index 207d34d..6adfa08 100644 --- a/multi-admin/src/main/java/com/gkhy/exam/admin/controller/system/SysUserController.java +++ b/multi-admin/src/main/java/com/gkhy/exam/admin/controller/system/SysUserController.java @@ -18,6 +18,8 @@ import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.*; +import java.util.Map; + @Api(tags = "用户前端控制器") @RestController @RequestMapping("/system/user") @@ -96,6 +98,24 @@ return CommonResult.success(); } + + @RepeatSubmit + @ApiOperation(value = "特殊作业人员证书") + @PutMapping(value = "/specialCertificate") + public CommonResult specialCertificate(@RequestBody SysUser user){ + sysUserService.updateSpecialCertificate(user); + return CommonResult.success(); + } + + @RepeatSubmit + @ApiOperation(value = "单位人员情况分析") + @GetMapping(value = "/getUserData") + public CommonResult getUserData(@RequestParam Long companyId){ + Map<String, Object> userData = sysUserService.getUserData(companyId); + return CommonResult.success(userData); + } + + @ApiOperation(value = "岗位任职管理(分页)") @ApiImplicitParams({ @ApiImplicitParam(paramType = "query", name = "pageNum", dataType = "int", required = false, value = "当前页,默认1"), -- Gitblit v1.9.2