heheng
2 天以前 338f2f5afc7762dabf2409f296d5d023462ed4b5
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"),