diff --git a/yudao-module-fta/yudao-module-fta-biz/src/main/java/cn/iocoder/yudao/module/fta/controller/admin/enterpriseinformation/EnterpriseInformationController.java b/yudao-module-fta/yudao-module-fta-biz/src/main/java/cn/iocoder/yudao/module/fta/controller/admin/enterpriseinformation/EnterpriseInformationController.java index a8e1070..744531a 100644 --- a/yudao-module-fta/yudao-module-fta-biz/src/main/java/cn/iocoder/yudao/module/fta/controller/admin/enterpriseinformation/EnterpriseInformationController.java +++ b/yudao-module-fta/yudao-module-fta-biz/src/main/java/cn/iocoder/yudao/module/fta/controller/admin/enterpriseinformation/EnterpriseInformationController.java @@ -85,7 +85,7 @@ public class EnterpriseInformationController { @Operation(summary = "获得已经通过审核的企业信息分页") @PreAuthorize("@ss.hasPermission('fta:enterprise-information:query')") public CommonResult> getEnterpriseInformationPassPage(@Valid EnterpriseInformationPageReqVO pageReqVO) { - PageResult pageResult = enterpriseInformationService.getEnterpriseInformationPage(pageReqVO); + PageResult pageResult = enterpriseInformationService.getEnterpriseInformationPassPage(pageReqVO); return success(BeanUtils.toBean(pageResult, EnterpriseInformationRespVO.class)); } diff --git a/yudao-module-fta/yudao-module-fta-biz/src/main/java/cn/iocoder/yudao/module/fta/controller/admin/enterpriseinformation/vo/CredentialManagementRespVO.java b/yudao-module-fta/yudao-module-fta-biz/src/main/java/cn/iocoder/yudao/module/fta/controller/admin/enterpriseinformation/vo/CredentialManagementRespVO.java index 1dc7fd6..539798d 100644 --- a/yudao-module-fta/yudao-module-fta-biz/src/main/java/cn/iocoder/yudao/module/fta/controller/admin/enterpriseinformation/vo/CredentialManagementRespVO.java +++ b/yudao-module-fta/yudao-module-fta-biz/src/main/java/cn/iocoder/yudao/module/fta/controller/admin/enterpriseinformation/vo/CredentialManagementRespVO.java @@ -51,7 +51,7 @@ public class CredentialManagementRespVO { @Schema(description = "证件类型(0安全员证,1安全负责人证,2危险品证)", example = "2") @ExcelProperty("证件类型(0安全员证,1安全负责人证,2危险品证)") - private Boolean idType; + private Integer idType; @Schema(description = "证书编号") @ExcelProperty("证书编号") @@ -67,7 +67,7 @@ public class CredentialManagementRespVO { @Schema(description = "性别(0男,1女)") @ExcelProperty("性别(0男,1女)") - private Boolean sex; + private Integer sex; @Schema(description = "行业类别") @ExcelProperty("行业类别") @@ -77,4 +77,4 @@ public class CredentialManagementRespVO { @ExcelProperty("企业名称") private String enterpriseName; -} \ No newline at end of file +} diff --git a/yudao-module-fta/yudao-module-fta-biz/src/main/java/cn/iocoder/yudao/module/fta/dal/mysql/enterpriseinformation/CredentialManagementMapper.java b/yudao-module-fta/yudao-module-fta-biz/src/main/java/cn/iocoder/yudao/module/fta/dal/mysql/enterpriseinformation/CredentialManagementMapper.java index 2a779dd..4cea448 100644 --- a/yudao-module-fta/yudao-module-fta-biz/src/main/java/cn/iocoder/yudao/module/fta/dal/mysql/enterpriseinformation/CredentialManagementMapper.java +++ b/yudao-module-fta/yudao-module-fta-biz/src/main/java/cn/iocoder/yudao/module/fta/dal/mysql/enterpriseinformation/CredentialManagementMapper.java @@ -23,7 +23,7 @@ public interface CredentialManagementMapper extends BaseMapperX updateWrapper = new LambdaUpdateWrapper<>(); + updateWrapper.eq(CredentialManagementDO::getInformationId,id).set(CredentialManagementDO::getStatus,"已通过审核"); + credentialManagementMapper.update(updateWrapper); } @Override