From 0695ba13e74261a22c10b4481fdafb7803929d52 Mon Sep 17 00:00:00 2001 From: "rong.liu" Date: Wed, 20 Dec 2023 14:01:07 +0800 Subject: [PATCH] commit --- .../users/controller/EnterpriseCertificationController.java | 2 +- .../huoran/users/mapper/xml/EnterpriseCertificationMapper.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/users/src/main/java/com/huoran/users/controller/EnterpriseCertificationController.java b/users/src/main/java/com/huoran/users/controller/EnterpriseCertificationController.java index fb2fe26..025bfb4 100644 --- a/users/src/main/java/com/huoran/users/controller/EnterpriseCertificationController.java +++ b/users/src/main/java/com/huoran/users/controller/EnterpriseCertificationController.java @@ -67,7 +67,7 @@ public class EnterpriseCertificationController { @PostMapping("/save") - @ApiOperation(value = "新增", response = EnterpriseCertification.class) + @ApiOperation(value = "新增(注册后调用此接口,传值状态0默认未提交)", response = EnterpriseCertification.class) public R save(@RequestBody @ApiParam(name = "企业实名认证信息记录对象", value = "传入json格式", required = true) EnterpriseCertification enterpriseCertification, HttpServletRequest request) { String accountId = TokenUtils.getIdByJwtToken(request); enterpriseCertification.setAccountId(Integer.valueOf(accountId)); diff --git a/users/src/main/java/com/huoran/users/mapper/xml/EnterpriseCertificationMapper.xml b/users/src/main/java/com/huoran/users/mapper/xml/EnterpriseCertificationMapper.xml index b602c97..0b6d370 100644 --- a/users/src/main/java/com/huoran/users/mapper/xml/EnterpriseCertificationMapper.xml +++ b/users/src/main/java/com/huoran/users/mapper/xml/EnterpriseCertificationMapper.xml @@ -9,7 +9,7 @@ FROM ( SELECT - IFNULL( info.company_name, u.user_name ) proposer, + IFNULL( info.real_name, u.user_name ) AS proposer, a.phone AS contactInformation, a.account, c.*, @@ -19,7 +19,7 @@ hr_enterprise_certification c INNER JOIN hr_user_account a ON a.id = c.account_id INNER JOIN hr_user_info u ON u.user_id = a.user_id - LEFT JOIN hr_enterprise_certification info ON info.account_id = a.id + LEFT JOIN hr_user_authentication_information info ON info.account_id = a.id LEFT JOIN k_platform_team_account ta ON ta.account_id = a.id LEFT JOIN k_platform_team t ON ta.manage_id = t.manage_id LEFT JOIN k_platform_team_classification cla ON cla.id = t.classification_id