523096025 5 månader sedan
förälder
incheckning
6ab9c92363

+ 0 - 21
huimv-farm/src/main/java/vip/xiaonuo/core/config/BaseConfigure.java

@@ -87,26 +87,5 @@ public class BaseConfigure {
     }
 
 
-    @Bean(value = "hrDocApi")
-    public Docket hrDocApi() {
-        return new Docket(DocumentationType.SWAGGER_2)
-                .apiInfo(new ApiInfoBuilder()
-                        .title("人员模块H")
-                        .description("人员模块")
-                        .termsOfServiceUrl("https://www.baiduc.com")
-                        .contact(new Contact("SNOWY_TEAM","https://www.baiduc.com", "xuyuxiang29@foxmail.com"))
-                        .version("2.0.0")
-                        .build())
-                .globalResponseMessage(RequestMethod.GET, CommonResult.responseList())
-                .globalResponseMessage(RequestMethod.POST, CommonResult.responseList())
-                .groupName("人员模块")
-                .select()
-                .apis(RequestHandlerSelectors.withMethodAnnotation(ApiOperation.class))
-                .apis(RequestHandlerSelectors.basePackage("vip.xiaonuo.hr"))
-                .paths(PathSelectors.any())
-                .build().extensions(openApiExtensionResolver.buildExtensions("人员模块"));
-    }
-
-
 
 }

+ 2 - 2
huimv-farm/src/main/java/vip/xiaonuo/hr/config/HrConfigure.java

@@ -51,8 +51,8 @@ public class HrConfigure implements WebMvcConfigurer {
                 .apiInfo(new ApiInfoBuilder()
                         .title("人员模块HR")
                         .description("人员模块HR")
-                        .termsOfServiceUrl("https://www.baiduc.com")
-                        .contact(new Contact("SNOWY_TEAM","https://www.baiduc.com", "xuyuxiang29@foxmail.com"))
+                        .termsOfServiceUrl("https://www.baidu.com")
+                        .contact(new Contact("SNOWY_TEAM","https://www.baidu.com", ""))
                         .version("2.0.0")
                         .build())
                 .globalResponseMessage(RequestMethod.GET, CommonResult.responseList())

+ 3 - 3
huimv-farm/src/main/java/vip/xiaonuo/hr/modular/baseemployeeinfo/controller/HrBaseEmployeeInfoController.java

@@ -132,7 +132,7 @@ public class HrBaseEmployeeInfoController {
     public CommonResult<List<EoucationVo>> listByDepart(@Valid EmployeeInfoEoucation employeeInfoEoucation) {
         return CommonResult.data(hrBaseEmployeeInfoService.listByDepart(employeeInfoEoucation));
     }
-    @ApiOperation("部门人数统计")
+    @ApiOperation("部门人数性别统计")
     @GetMapping("/hr/baseemployeeinfo/listByDepartGender")
     public CommonResult<List<EoucationVo>> listByDepartGender(@Valid EmployeeInfoEoucation employeeInfoEoucation) {
         return CommonResult.data(hrBaseEmployeeInfoService.listByDepartGender(employeeInfoEoucation));
@@ -226,13 +226,13 @@ public class HrBaseEmployeeInfoController {
         return CommonResult.data(hrBaseEmployeeInfoService.birthDis(employeeInfoEoucation));
     }
 
-    @ApiOperation("生日分布")
+    @ApiOperation("司龄分布")
     @GetMapping("/hr/baseemployeeinfo/siLingDis")
     public CommonResult<List<PerNum>> siLingDis(@Valid EmployeeInfoEoucation employeeInfoEoucation) {
         return CommonResult.data(hrBaseEmployeeInfoService.siLingDis(employeeInfoEoucation));
     }
 
-    @ApiOperation("生日分布")
+    @ApiOperation("工龄分布")
     @GetMapping("/hr/baseemployeeinfo/gongLingDis")
     public CommonResult<List<PerNum>> gongLingDis(@Valid EmployeeInfoEoucation employeeInfoEoucation) {
         return CommonResult.data(hrBaseEmployeeInfoService.gongLingDis(employeeInfoEoucation));