diff --git a/web-adapter/src/main/java/com/zcloud/certificate/web/UserCertificateController.java b/web-adapter/src/main/java/com/zcloud/certificate/web/UserCertificateController.java index 4825fad..f5806ba 100644 --- a/web-adapter/src/main/java/com/zcloud/certificate/web/UserCertificateController.java +++ b/web-adapter/src/main/java/com/zcloud/certificate/web/UserCertificateController.java @@ -13,6 +13,7 @@ import com.alibaba.cola.dto.Response; import com.alibaba.cola.dto.SingleResponse; import com.jjb.saas.framework.auth.model.SSOUser; import com.jjb.saas.framework.auth.utils.AuthContext; +import com.zcloud.certificate.dto.clientobject.UserCertificateStatCO; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.AllArgsConstructor; @@ -89,7 +90,7 @@ public class UserCertificateController { @ApiOperation("股份端查询企业/相关方各类人员证书数量分页") @PostMapping("/corpCertificateStatPage") - public PageResponse corpCertificateStatPage(@RequestBody CorpCertificateStatPageQry qry) { + public PageResponse corpCertificateStatPage(@RequestBody CorpCertificateStatPageQry qry) { return userCertificateService.corpCertificateStatPage(qry); } } diff --git a/web-infrastructure/src/main/resources/mapper/UserCertificateMapper.xml b/web-infrastructure/src/main/resources/mapper/UserCertificateMapper.xml index 9ef9c0b..beec67a 100644 --- a/web-infrastructure/src/main/resources/mapper/UserCertificateMapper.xml +++ b/web-infrastructure/src/main/resources/mapper/UserCertificateMapper.xml @@ -8,7 +8,7 @@ SELECT uc.*, - u.username AS userName, + u.name AS userName, u.employment_flag AS employmentStatus, d.name AS departmentName, p.corpinfo_name AS corpinfoName, @@ -116,7 +116,7 @@